Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5225, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.00373/0.5263, allocations: 2.741 MB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003504/0.5298, allocations: 2.787 MB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.53, allocations: 7.938 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.5312, allocations: 498 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.5317, allocations: 246.9 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.5325, allocations: 395 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.5339, allocations: 1.536 MB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.5342, allocations: 142.3 kB / 1.026 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000522/0.5347, allocations: 466.8 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005388/0.5352, allocations: 414.6 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.611e-05/0.5353, allocations: 48 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.5355, allocations: 56 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.5357, allocations: 267.2 kB / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.5361, allocations: 370.2 kB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.5368, allocations: 0.9034 MB / 1.028 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5368, allocations: 4 kB / 1.028 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5368, allocations: 0 / 1.028 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.5368, allocations: 0 / 1.028 GB, free: 7.586 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001901/0.5387, allocations: 1.152 MB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.5387, allocations: 12.03 kB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.509e-05/0.5388, allocations: 54.73 kB / 1.029 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.5389, allocations: 80 kB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008531/0.5398, allocations: 0.6487 MB / 1.03 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5398, allocations: 28.94 kB / 1.03 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.5399, allocations: 36.38 kB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.5404, allocations: 378.6 kB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5404, allocations: 4 kB / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.5405, allocations: 11.98 kB / 1.03 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.5405, allocations: 8 kB / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003766/0.5409, allocations: 233.5 kB / 1.031 GB, free: 4.832 MB / 0.7794 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.5442, allocations: 2.459 MB / 1.033 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009573/0.5451, allocations: 394.5 kB / 1.033 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.5454, allocations: 136.8 kB / 1.033 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.5454, allocations: 4 kB / 1.033 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.5454, allocations: 42.5 kB / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.442e-06/0.5454, allocations: 0 / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009069/0.5463, allocations: 0.5275 MB / 1.034 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.5464, allocations: 55.41 kB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.5474, allocations: 0.9376 MB / 1.035 GB, free: 32 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.5475, allocations: 37.78 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.5477, allocations: 300.3 kB / 1.035 GB, free: 15.69 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/0.5478, allocations: 71.05 kB / 1.035 GB, free: 15.62 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.548, allocations: 126.1 kB / 1.035 GB, free: 15.49 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5481, allocations: 382.6 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.5485, allocations: 240.9 kB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.5489, allocations: 0.4975 MB / 1.037 GB, free: 14.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/0.5497, allocations: 0.7032 MB / 1.037 GB, free: 13.42 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5497, allocations: 4 kB / 1.037 GB, free: 13.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001137/0.5509, allocations: 0.8121 MB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.5509, allocations: 12 kB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5509, allocations: 8 kB / 1.038 GB, free: 12.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.5511, allocations: 52.83 kB / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.5516, allocations: 147.7 kB / 1.038 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.5527, allocations: 1.542 MB / 1.04 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006424/0.5534, allocations: 127.4 kB / 1.04 GB, free: 10.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.5534, allocations: 31.94 kB / 1.04 GB, free: 10.54 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003111/0.5538, allocations: 342 kB / 1.04 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/0.5539, allocations: 67.09 kB / 1.04 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.554, allocations: 66 kB / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.554, allocations: 4 kB / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.554, allocations: 0 / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.554, allocations: 0 / 1.04 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.5546, allocations: 0.583 MB / 1.041 GB, free: 9.418 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5546, allocations: 3.938 kB / 1.041 GB, free: 9.414 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.5549, allocations: 51.89 kB / 1.041 GB, free: 9.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.555, allocations: 40.83 kB / 1.041 GB, free: 9.32 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.555, allocations: 11.98 kB / 1.041 GB, free: 9.309 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.556, allocations: 1.515 MB / 1.043 GB, free: 7.656 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5561, allocations: 4.156 kB / 1.043 GB, free: 7.652 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.5568, allocations: 0.5631 MB / 1.043 GB, free: 7.07 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.557, allocations: 200.3 kB / 1.043 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/0.5571, allocations: 8 kB / 1.043 GB, free: 6.848 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.5575, allocations: 51.84 kB / 1.043 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.5576, allocations: 19.92 kB / 1.043 GB, free: 6.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.5576, allocations: 8 kB / 1.043 GB, free: 6.77 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007584/0.5583, allocations: 0.659 MB / 1.044 GB, free: 6.117 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.613e-06/0.5584, allocations: 0 / 1.044 GB, free: 6.117 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000581/0.5589, allocations: 191.7 kB / 1.044 GB, free: 5.93 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009585/0.5599, allocations: 1.108 MB / 1.045 GB, free: 4.789 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008434/0.5608, allocations: 0.6021 MB / 1.046 GB, free: 4.176 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5608, allocations: 0 / 1.046 GB, free: 4.176 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.5611, allocations: 256.3 kB / 1.046 GB, free: 3.914 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/0.5619, allocations: 172.6 kB / 1.046 GB, free: 3.746 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00807/0.57, allocations: 7.04 MB / 1.053 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.5705, allocations: 1.006 MB / 1.054 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000394/0.571, allocations: 180.5 kB / 1.054 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.5712, allocations: 211.4 kB / 1.054 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.5713, allocations: 0 / 1.054 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.6049, allocations: 14.03 MB / 1.068 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.039/9.644, allocations: 5.125 kB / 1.068 GB, free: 13.14 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches