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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 100.1 kB / 15.88 MB, free: 12 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.001662/0.001662, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.417/1.417, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.2 MB / 0.6649 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 64.05 kB / 0.8125 GB, free: 14.94 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6209/0.6224, allocations: 140.4 MB / 0.9496 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003535/0.626, allocations: 2.79 MB / 0.9523 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003293/0.6293, allocations: 2.802 MB / 0.955 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.6295, allocations: 8.312 kB / 0.955 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.6308, allocations: 460.3 kB / 0.9555 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004492/0.6313, allocations: 237.3 kB / 0.9557 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007978/0.6321, allocations: 336.2 kB / 0.956 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.6338, allocations: 1.722 MB / 0.9577 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.634, allocations: 128.1 kB / 0.9578 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006565/0.6347, allocations: 407.3 kB / 0.9582 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000525/0.6352, allocations: 398.7 kB / 0.9586 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.304e-05/0.6353, allocations: 23.88 kB / 0.9586 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.6354, allocations: 24.59 kB / 0.9586 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.6356, allocations: 234.2 kB / 0.9589 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003738/0.636, allocations: 334 kB / 0.9592 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.6366, allocations: 0.7348 MB / 0.9599 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.6366, allocations: 0.7812 kB / 0.9599 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6366, allocations: 3.938 kB / 0.9599 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.6367, allocations: 4 kB / 0.9599 GB, free: 2.297 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.002021/0.6387, allocations: 1.136 MB / 0.961 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.6387, allocations: 10 kB / 0.961 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.6389, allocations: 77.31 kB / 0.9611 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.6397, allocations: 0.6505 MB / 0.9617 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.6398, allocations: 27 kB / 0.9618 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.6398, allocations: 43.19 kB / 0.9618 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.6404, allocations: 379.2 kB / 0.9622 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.6404, allocations: 1.438 kB / 0.9622 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.6404, allocations: 9.312 kB / 0.9622 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.6404, allocations: 6.938 kB / 0.9622 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.6408, allocations: 242.4 kB / 0.9624 GB, free: 0.4961 MB / 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.003491/0.6443, allocations: 2.46 MB / 0.9648 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.6454, allocations: 391 kB / 0.9652 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.6456, allocations: 141.8 kB / 0.9653 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.6456, allocations: 10.12 kB / 0.9653 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.6457, allocations: 31.66 kB / 0.9654 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.744e-06/0.6457, allocations: 0 / 0.9654 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.00105/0.6467, allocations: 0.5302 MB / 0.9659 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.6468, allocations: 53.47 kB / 0.9659 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.648, allocations: 0.9424 MB / 0.9668 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.6481, allocations: 35.14 kB / 0.9669 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/0.6483, allocations: 305 kB / 0.9672 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.394e-05/0.6484, allocations: 64.55 kB / 0.9672 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.6486, allocations: 126.2 kB / 0.9674 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6488, allocations: 384.2 kB / 0.9677 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.6491, allocations: 237 kB / 0.9679 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.6496, allocations: 0.5038 MB / 0.9684 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008138/0.6505, allocations: 0.703 MB / 0.9691 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.6505, allocations: 2.406 kB / 0.9691 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001336/0.6518, allocations: 0.8152 MB / 0.9699 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.6519, allocations: 9.156 kB / 0.9699 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.6519, allocations: 8.938 kB / 0.9699 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.6521, allocations: 48.55 kB / 0.97 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/0.6526, allocations: 139.2 kB / 0.9701 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.6539, allocations: 1.442 MB / 0.9715 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/0.6547, allocations: 127.2 kB / 0.9716 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.6548, allocations: 28.44 kB / 0.9717 GB, free: 9.215 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.0004761/0.6552, allocations: 335.8 kB / 0.972 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.6554, allocations: 63.16 kB / 0.9721 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.6555, allocations: 70.09 kB / 0.9721 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6555, allocations: 6.844 kB / 0.9721 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6555, allocations: 0 / 0.9721 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6555, allocations: 5.25 kB / 0.9721 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007242/0.6562, allocations: 0.5746 MB / 0.9727 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6562, allocations: 1.156 kB / 0.9727 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.6565, allocations: 45.95 kB / 0.9727 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/0.6566, allocations: 40.86 kB / 0.9728 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.6567, allocations: 11.92 kB / 0.9728 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.6579, allocations: 1.42 MB / 0.9742 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6579, allocations: 1.5 kB / 0.9742 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007972/0.6587, allocations: 0.5798 MB / 0.9747 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.659, allocations: 204.3 kB / 0.9749 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.967e-05/0.6591, allocations: 4.125 kB / 0.9749 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.6595, allocations: 50.38 kB / 0.975 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.6596, allocations: 10.02 kB / 0.975 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.6596, allocations: 11.44 kB / 0.975 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009153/0.6605, allocations: 0.6599 MB / 0.9757 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6605, allocations: 0 / 0.9757 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008099/0.6613, allocations: 187.6 kB / 0.9758 GB, free: 5.973 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.000145/0.6615, allocations: 110.8 kB / 0.9759 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.6626, allocations: 0.57 MB / 0.9765 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6626, allocations: 0 / 0.9765 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.6629, allocations: 254.7 kB / 0.9767 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008921/0.6638, allocations: 163.9 kB / 0.9769 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.6661, allocations: 1.741 MB / 0.9786 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.6667, allocations: 1.006 MB / 0.9796 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.6669, allocations: 39.44 kB / 0.9796 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.6669, allocations: 0 / 0.9796 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of Templates: time 0.01543/0.6823, allocations: 12.25 MB / 0.9916 GB, free: 6.301 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (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 & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/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