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.0009573/0.0009575, allocations: 92.16 kB / 16.02 MB, free: 80 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.001133/0.001133, allocations: 173 kB / 16.92 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.316 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.538/2.538, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6553, allocations: 142.4 MB / 0.9557 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.002594/0.6579, allocations: 2.421 MB / 0.9581 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003387/0.6614, allocations: 2.75 MB / 0.9607 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.6617, allocations: 7.688 kB / 0.9607 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.663, allocations: 465.6 kB / 0.9612 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.6635, allocations: 240.6 kB / 0.9614 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000798/0.6643, allocations: 334.7 kB / 0.9617 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.6661, allocations: 1.722 MB / 0.9634 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.6664, allocations: 126 kB / 0.9635 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007026/0.6671, allocations: 397.5 kB / 0.9639 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005513/0.6677, allocations: 395 kB / 0.9643 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.005e-05/0.6677, allocations: 19.97 kB / 0.9643 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.458e-05/0.6678, allocations: 29.09 kB / 0.9643 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.668, allocations: 232.8 kB / 0.9646 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003082/0.6683, allocations: 350.3 kB / 0.9649 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005329/0.6689, allocations: 0.7143 MB / 0.9656 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6689, allocations: 1.188 kB / 0.9656 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6689, allocations: 0 / 0.9656 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.6689, allocations: 0 / 0.9656 GB, free: 0.7617 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.00188/0.6708, allocations: 1.036 MB / 0.9666 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.6708, allocations: 9.969 kB / 0.9666 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.671, allocations: 78.31 kB / 0.9667 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009998/0.672, allocations: 0.6532 MB / 0.9673 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.6721, allocations: 27.53 kB / 0.9674 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.938e-05/0.6722, allocations: 42.75 kB / 0.9674 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.6728, allocations: 381.1 kB / 0.9678 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.6728, allocations: 1.031 kB / 0.9678 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.6728, allocations: 9.969 kB / 0.9678 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.6729, allocations: 5.75 kB / 0.9678 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004416/0.6733, allocations: 243.6 kB / 0.968 GB, free: 15.02 MB / 0.7325 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.003958/0.6773, allocations: 2.473 MB / 0.9704 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.6783, allocations: 403.9 kB / 0.9708 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.6786, allocations: 139.8 kB / 0.9709 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.6786, allocations: 2.75 kB / 0.9709 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.6786, allocations: 39.66 kB / 0.971 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 2.384e-06/0.6786, allocations: 0 / 0.971 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001126/0.6798, allocations: 0.5361 MB / 0.9715 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.6798, allocations: 61.94 kB / 0.9716 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.6813, allocations: 0.9374 MB / 0.9725 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.6813, allocations: 35.86 kB / 0.9725 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.6816, allocations: 299.9 kB / 0.9728 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.797e-05/0.6817, allocations: 69.22 kB / 0.9729 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.6818, allocations: 69.88 kB / 0.9729 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.682, allocations: 379.5 kB / 0.9733 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.6824, allocations: 243.1 kB / 0.9735 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.683, allocations: 0.5056 MB / 0.974 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000841/0.6838, allocations: 0.701 MB / 0.9747 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.6839, allocations: 2.688 kB / 0.9747 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001278/0.6851, allocations: 0.8223 MB / 0.9755 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.6852, allocations: 9.469 kB / 0.9755 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.6852, allocations: 10.19 kB / 0.9755 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/0.6854, allocations: 59.97 kB / 0.9756 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.6859, allocations: 140.1 kB / 0.9757 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.6872, allocations: 1.431 MB / 0.9771 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008445/0.688, allocations: 128.9 kB / 0.9772 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.6881, allocations: 27.09 kB / 0.9773 GB, free: 7.766 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.0004527/0.6885, allocations: 344.8 kB / 0.9776 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.6886, allocations: 63.12 kB / 0.9777 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.6888, allocations: 66.5 kB / 0.9777 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.6888, allocations: 6.469 kB / 0.9777 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6888, allocations: 0 / 0.9777 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.6888, allocations: 1.625 kB / 0.9777 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.6895, allocations: 0.5824 MB / 0.9783 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6895, allocations: 0 / 0.9783 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.6898, allocations: 51.11 kB / 0.9783 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001273/0.6899, allocations: 41.02 kB / 0.9784 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.69, allocations: 12.11 kB / 0.9784 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.6911, allocations: 1.421 MB / 0.9798 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6911, allocations: 1.375 kB / 0.9798 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.6919, allocations: 0.5793 MB / 0.9804 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.6922, allocations: 200.3 kB / 0.9805 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/0.6922, allocations: 8 kB / 0.9805 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.6926, allocations: 47.83 kB / 0.9806 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.6927, allocations: 19.91 kB / 0.9806 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.6927, allocations: 4.125 kB / 0.9806 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000872/0.6936, allocations: 0.6629 MB / 0.9813 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6936, allocations: 4 kB / 0.9813 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006942/0.6943, allocations: 179.8 kB / 0.9814 GB, free: 3.934 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.0001279/0.6944, allocations: 107.2 kB / 0.9815 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008992/0.6954, allocations: 0.578 MB / 0.9821 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6954, allocations: 0 / 0.9821 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.6957, allocations: 255 kB / 0.9824 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008847/0.6966, allocations: 160.4 kB / 0.9825 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.6992, allocations: 1.849 MB / 0.9843 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007661/0.7, allocations: 1.007 MB / 0.9853 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.7002, allocations: 39.44 kB / 0.9853 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.7002, allocations: 0 / 0.9853 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of Templates: time 0.0184/0.7186, allocations: 12.16 MB / 0.9972 GB, free: 3.73 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