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: 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.007424/0.007424, allocations: 105.4 kB / 15.74 MB, free: 6.004 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.001668/0.001668, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.234/2.234, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.89 kB / 0.9508 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8384/0.8397, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004295/0.844, allocations: 2.745 MB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004029/0.8481, allocations: 2.778 MB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003978/0.8485, allocations: 8.375 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.8501, allocations: 498.6 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000631/0.8509, allocations: 257.9 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.8521, allocations: 403.2 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002326/0.8545, allocations: 1.534 MB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.8548, allocations: 149.4 kB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009796/0.8558, allocations: 472.3 kB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006599/0.8564, allocations: 384.5 kB / 1.097 GB, free: 196 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.4e-05/0.8565, allocations: 46.97 kB / 1.097 GB, free: 196 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.8567, allocations: 49 kB / 1.097 GB, free: 196 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000336/0.857, allocations: 278.1 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000481/0.8575, allocations: 367.1 kB / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.8586, allocations: 0.9126 MB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.8586, allocations: 1.141 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8586, allocations: 5.312 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.8587, allocations: 0 / 1.098 GB, free: 15.55 MB / 0.8731 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.002281/0.861, allocations: 1.142 MB / 1.1 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.861, allocations: 14.23 kB / 1.1 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.8612, allocations: 78.09 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.8623, allocations: 0.6698 MB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.8623, allocations: 26.78 kB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/0.8624, allocations: 39.22 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.8631, allocations: 379.9 kB / 1.101 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.8631, allocations: 0 / 1.101 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.8631, allocations: 12.09 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.8632, allocations: 8.969 kB / 1.101 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/0.8637, allocations: 237.5 kB / 1.101 GB, free: 14.06 MB / 0.8731 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.004198/0.8679, allocations: 2.453 MB / 1.103 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.869, allocations: 397 kB / 1.104 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.8693, allocations: 142 kB / 1.104 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.8693, allocations: 1.688 kB / 1.104 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.8693, allocations: 39.62 kB / 1.104 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.893e-06/0.8693, allocations: 1.062 kB / 1.104 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001149/0.8705, allocations: 0.531 MB / 1.104 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.8706, allocations: 57.09 kB / 1.104 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.8721, allocations: 0.9383 MB / 1.105 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.8721, allocations: 36.08 kB / 1.105 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.8724, allocations: 301.2 kB / 1.106 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.8726, allocations: 65.86 kB / 1.106 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.8728, allocations: 121.6 kB / 1.106 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.873, allocations: 383.6 kB / 1.106 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.8734, allocations: 243.2 kB / 1.107 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/0.8741, allocations: 0.5061 MB / 1.107 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009374/0.875, allocations: 0.6938 MB / 1.108 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.875, allocations: 3.094 kB / 1.108 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001417/0.8765, allocations: 0.8149 MB / 1.108 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.8765, allocations: 9.812 kB / 1.108 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.8765, allocations: 8.594 kB / 1.108 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002493/0.8768, allocations: 50.83 kB / 1.109 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.8773, allocations: 145.7 kB / 1.109 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.8788, allocations: 1.541 MB / 1.11 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009383/0.8798, allocations: 127.4 kB / 1.11 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/0.8798, allocations: 27.59 kB / 1.11 GB, free: 7.926 MB / 0.8731 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.0006136/0.8805, allocations: 339.8 kB / 1.111 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.8807, allocations: 62.47 kB / 1.111 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.8808, allocations: 70.77 kB / 1.111 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.8809, allocations: 6.797 kB / 1.111 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.8809, allocations: 4.531 kB / 1.111 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.8809, allocations: 1.859 kB / 1.111 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.882, allocations: 0.5744 MB / 1.111 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.882, allocations: 1.125 kB / 1.111 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.8823, allocations: 53.33 kB / 1.111 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001575/0.8825, allocations: 42.06 kB / 1.111 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.8825, allocations: 9.453 kB / 1.111 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.8838, allocations: 1.522 MB / 1.113 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8838, allocations: 1.469 kB / 1.113 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009441/0.8848, allocations: 0.5731 MB / 1.114 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.8851, allocations: 206.3 kB / 1.114 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.8852, allocations: 9.875 kB / 1.114 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.8856, allocations: 58.05 kB / 1.114 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.8857, allocations: 13.84 kB / 1.114 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.8857, allocations: 8.328 kB / 1.114 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001108/0.8868, allocations: 0.6584 MB / 1.114 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8868, allocations: 0 / 1.114 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007872/0.8876, allocations: 182.6 kB / 1.115 GB, free: 5.078 MB / 0.8731 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.0001386/0.8878, allocations: 110.8 kB / 1.115 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.8888, allocations: 0.5738 MB / 1.115 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8889, allocations: 0 / 1.115 GB, free: 4.742 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.8892, allocations: 249.5 kB / 1.116 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009053/0.8901, allocations: 161.9 kB / 1.116 GB, free: 4.539 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.8926, allocations: 1.515 MB / 1.117 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007455/0.8933, allocations: 1.006 MB / 1.118 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000502/0.8938, allocations: 186.9 kB / 1.118 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.894, allocations: 36.69 kB / 1.118 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/0.894, allocations: 0 / 1.118 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of Templates: time 0.019/0.913, allocations: 8.512 MB / 1.127 GB, free: 2.477 MB / 0.8731 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches