Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_9_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.001528/0.001528, 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.00125/0.00125, allocations: 193.8 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.89 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5394/0.5408, allocations: 140.4 MB / 0.9497 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003193/0.544, allocations: 2.732 MB / 0.9524 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003064/0.5471, allocations: 2.784 MB / 0.9551 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.5473, allocations: 13.22 kB / 0.9551 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.5486, allocations: 496.8 kB / 0.9556 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.549, allocations: 255.1 kB / 0.9558 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007853/0.5498, allocations: 398.4 kB / 0.9562 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.5511, allocations: 1.529 MB / 0.9577 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.5513, allocations: 143 kB / 0.9578 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004899/0.5518, allocations: 470.4 kB / 0.9583 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004749/0.5522, allocations: 406.3 kB / 0.9587 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.44e-05/0.5524, allocations: 48.38 kB / 0.9587 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.5525, allocations: 56.44 kB / 0.9588 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.5527, allocations: 262.5 kB / 0.959 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.5531, allocations: 371.8 kB / 0.9594 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006185/0.5537, allocations: 0.8989 MB / 0.9602 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5537, allocations: 1.375 kB / 0.9602 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5537, allocations: 7.938 kB / 0.9603 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.5537, allocations: 0 / 0.9603 GB, free: 1.871 MB / 0.7169 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.001765/0.5555, allocations: 1.147 MB / 0.9614 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.5555, allocations: 9.906 kB / 0.9614 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.806e-05/0.5556, allocations: 64.03 kB / 0.9614 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.5557, allocations: 77.94 kB / 0.9615 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000808/0.5565, allocations: 0.6461 MB / 0.9621 GB, free: 420 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.5566, allocations: 27.66 kB / 0.9622 GB, free: 408 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.5566, allocations: 41.59 kB / 0.9622 GB, free: 392 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.5571, allocations: 376 kB / 0.9626 GB, free: 132 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.5572, allocations: 0 / 0.9626 GB, free: 132 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.5572, allocations: 11.31 kB / 0.9626 GB, free: 124 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5572, allocations: 5.438 kB / 0.9626 GB, free: 124 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.5576, allocations: 240 kB / 0.9628 GB, free: 8 kB / 0.7169 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.003529/0.5611, allocations: 2.452 MB / 0.9652 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.5621, allocations: 403.6 kB / 0.9656 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.5624, allocations: 133.4 kB / 0.9657 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.5624, allocations: 5.031 kB / 0.9657 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.5624, allocations: 36.91 kB / 0.9658 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.654e-06/0.5624, allocations: 0 / 0.9658 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0009925/0.5634, allocations: 0.5328 MB / 0.9663 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.5635, allocations: 58.03 kB / 0.9663 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.5646, allocations: 0.9332 MB / 0.9673 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.5647, allocations: 40.42 kB / 0.9673 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.5649, allocations: 304.2 kB / 0.9676 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.367e-05/0.565, allocations: 63.97 kB / 0.9676 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.5652, allocations: 127.7 kB / 0.9678 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5654, allocations: 388.3 kB / 0.9681 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.5657, allocations: 239.8 kB / 0.9684 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005012/0.5662, allocations: 0.5004 MB / 0.9689 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007977/0.567, allocations: 0.6962 MB / 0.9695 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.5671, allocations: 3.906 kB / 0.9695 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001217/0.5683, allocations: 0.8158 MB / 0.9703 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.5683, allocations: 11.97 kB / 0.9703 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.5683, allocations: 8.844 kB / 0.9704 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.5685, allocations: 56.41 kB / 0.9704 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.569, allocations: 142.8 kB / 0.9705 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.5702, allocations: 1.535 MB / 0.972 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007537/0.571, allocations: 127 kB / 0.9722 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.5711, allocations: 31.11 kB / 0.9722 GB, free: 8.617 MB / 0.7325 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.000369/0.5714, allocations: 336.4 kB / 0.9725 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.5715, allocations: 70.27 kB / 0.9726 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.5717, allocations: 70.5 kB / 0.9726 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5717, allocations: 2.344 kB / 0.9726 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5717, allocations: 1.375 kB / 0.9727 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5717, allocations: 0 / 0.9727 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.5723, allocations: 0.5718 MB / 0.9732 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5723, allocations: 3.938 kB / 0.9732 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.5726, allocations: 47 kB / 0.9733 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/0.5727, allocations: 48.12 kB / 0.9733 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.5727, allocations: 7.594 kB / 0.9733 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.5738, allocations: 1.529 MB / 0.9748 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5738, allocations: 0 / 0.9748 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.5745, allocations: 0.5649 MB / 0.9754 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.5748, allocations: 199.8 kB / 0.9755 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.728e-05/0.5749, allocations: 9.234 kB / 0.9756 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.5753, allocations: 53.33 kB / 0.9756 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.5754, allocations: 9.766 kB / 0.9756 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.5754, allocations: 7.469 kB / 0.9756 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008351/0.5762, allocations: 0.6593 MB / 0.9763 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5762, allocations: 0 / 0.9763 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006693/0.5769, allocations: 190.5 kB / 0.9764 GB, free: 5.277 MB / 0.7325 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.001004/0.5779, allocations: 1.127 MB / 0.9775 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009049/0.5788, allocations: 0.5947 MB / 0.9781 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5789, allocations: 4.062 kB / 0.9781 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.5792, allocations: 250.5 kB / 0.9784 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008201/0.58, allocations: 172.5 kB / 0.9785 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008188/0.5882, allocations: 7.04 MB / 0.9854 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.5888, allocations: 1.006 MB / 0.9864 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004347/0.5892, allocations: 188.4 kB / 0.9866 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.5895, allocations: 203.4 kB / 0.9868 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/0.5895, allocations: 0 / 0.9868 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03659/0.6261, allocations: 14.02 MB / 1 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.152/9.778, allocations: 13.7 kB / 1 GB, free: 12.73 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches