Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007219/0.007219, allocations: 100.3 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 193.1 kB / 16.67 MB, free: 5.918 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 461.9 MB / 0.7347 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 71.83 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9115/0.913, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003563/0.9166, allocations: 2.737 MB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003586/0.9202, allocations: 2.776 MB / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.9204, allocations: 11.94 kB / 1.213 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.9217, allocations: 499.9 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.9221, allocations: 246.9 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008542/0.923, allocations: 406.2 kB / 1.214 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001572/0.9246, allocations: 1.536 MB / 1.216 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.9248, allocations: 134.3 kB / 1.216 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006266/0.9255, allocations: 478.7 kB / 1.216 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000491/0.926, allocations: 382.7 kB / 1.217 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.525e-05/0.926, allocations: 44 kB / 1.217 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.603e-05/0.9261, allocations: 60 kB / 1.217 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000254/0.9264, allocations: 275.2 kB / 1.217 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003212/0.9267, allocations: 374.2 kB / 1.217 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007644/0.9275, allocations: 0.9035 MB / 1.218 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9275, allocations: 0 / 1.218 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9275, allocations: 0 / 1.218 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.9275, allocations: 0 / 1.218 GB, free: 2.777 MB / 0.9356 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.001898/0.9294, allocations: 1.152 MB / 1.219 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.9295, allocations: 12.03 kB / 1.219 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.9296, allocations: 80 kB / 1.219 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.9307, allocations: 0.6759 MB / 1.22 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.9307, allocations: 32.94 kB / 1.22 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.9308, allocations: 40.38 kB / 1.22 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.9314, allocations: 374.8 kB / 1.221 GB, free: 316 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.9314, allocations: 3.984 kB / 1.221 GB, free: 312 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.9314, allocations: 12 kB / 1.221 GB, free: 300 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.9314, allocations: 4 kB / 1.221 GB, free: 296 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.9318, allocations: 237.5 kB / 1.221 GB, free: 56 kB / 0.9356 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.003353/0.9352, allocations: 2.443 MB / 1.223 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009442/0.9361, allocations: 406.4 kB / 1.224 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.9363, allocations: 140.7 kB / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.9364, allocations: 0 / 1.224 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.9364, allocations: 34.56 kB / 1.224 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.9364, allocations: 0 / 1.224 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0008816/0.9373, allocations: 0.532 MB / 1.224 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.9373, allocations: 55.41 kB / 1.224 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.9383, allocations: 0.9414 MB / 1.225 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.9384, allocations: 37.64 kB / 1.225 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.9386, allocations: 296.5 kB / 1.226 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.9387, allocations: 75 kB / 1.226 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.9388, allocations: 122.2 kB / 1.226 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.939, allocations: 378.7 kB / 1.226 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.9393, allocations: 240.9 kB / 1.226 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.9398, allocations: 0.5053 MB / 1.227 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008868/0.9407, allocations: 0.6926 MB / 1.227 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.9407, allocations: 4 kB / 1.227 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001085/0.9418, allocations: 0.8117 MB / 1.228 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.9419, allocations: 8.875 kB / 1.228 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.9419, allocations: 12 kB / 1.228 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.9421, allocations: 64.75 kB / 1.228 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.9425, allocations: 135.8 kB / 1.228 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.9437, allocations: 1.542 MB / 1.23 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/0.9444, allocations: 127.1 kB / 1.23 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.9444, allocations: 28 kB / 1.23 GB, free: 5.773 MB / 0.9512 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.00033/0.9447, allocations: 345.5 kB / 1.23 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.073e-05/0.9448, allocations: 67.17 kB / 1.231 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.9449, allocations: 66 kB / 1.231 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.9449, allocations: 3.938 kB / 1.231 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.945, allocations: 4 kB / 1.231 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.945, allocations: 0 / 1.231 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006268/0.9456, allocations: 0.5791 MB / 1.231 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9456, allocations: 0 / 1.231 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.9458, allocations: 47.91 kB / 1.231 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.946, allocations: 44.81 kB / 1.231 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.946, allocations: 8 kB / 1.231 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.9471, allocations: 1.527 MB / 1.233 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9471, allocations: 0 / 1.233 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/0.9478, allocations: 0.5674 MB / 1.233 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.9481, allocations: 200.2 kB / 1.233 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.766e-05/0.9482, allocations: 11.98 kB / 1.234 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.9486, allocations: 47.86 kB / 1.234 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.9486, allocations: 11.98 kB / 1.234 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.9486, allocations: 4 kB / 1.234 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000803/0.9494, allocations: 0.6668 MB / 1.234 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9494, allocations: 0 / 1.234 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005739/0.95, allocations: 183.8 kB / 1.234 GB, free: 1.164 MB / 0.9512 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.0001205/0.9501, allocations: 107.2 kB / 1.234 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000816/0.951, allocations: 0.569 MB / 1.235 GB, free: 480 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.951, allocations: 1.875 kB / 1.235 GB, free: 480 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.9513, allocations: 250.5 kB / 1.235 GB, free: 216 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007751/0.9521, allocations: 170.9 kB / 1.235 GB, free: 44 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.9541, allocations: 1.519 MB / 1.237 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.9546, allocations: 1.022 MB / 1.238 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003534/0.955, allocations: 180.5 kB / 1.238 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.9551, allocations: 39.44 kB / 1.238 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of SimCode: time 6.51e-07/0.9551, allocations: 0 / 1.238 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.01334/0.9685, allocations: 8.651 MB / 1.247 GB, free: 4.703 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches