Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01124/0.01124, allocations: 95.92 kB / 15.73 MB, free: 6.062 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.002036/0.002036, allocations: 195.8 kB / 16.68 MB, free: 5.98 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3442, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004796/0.3491, allocations: 3.742 MB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004383/0.3535, allocations: 2.506 MB / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005818/0.3541, allocations: 15.94 kB / 1.173 GB, free: 0.543 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008778/0.355, allocations: 250.3 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.3563, allocations: 497.6 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.3577, allocations: 0.5417 MB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00153/0.3592, allocations: 1.379 MB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.3595, allocations: 157.1 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005221/0.36, allocations: 422.5 kB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.3606, allocations: 466.1 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.434e-05/0.3607, allocations: 59.94 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.3609, allocations: 56 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.3613, allocations: 386.9 kB / 1.177 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004205/0.3617, allocations: 457.7 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008779/0.3626, allocations: 0.9412 MB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3626, allocations: 0 / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3626, allocations: 0 / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.3626, allocations: 0 / 1.178 GB, free: 10.96 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002208/0.3648, allocations: 1.299 MB / 1.179 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3649, allocations: 11.98 kB / 1.179 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.3651, allocations: 108.3 kB / 1.18 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.3661, allocations: 0.68 MB / 1.18 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.3661, allocations: 37.03 kB / 1.18 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.373e-05/0.3662, allocations: 56.38 kB / 1.18 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.3668, allocations: 410.9 kB / 1.181 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3669, allocations: 4 kB / 1.181 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.3669, allocations: 12 kB / 1.181 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.3669, allocations: 8 kB / 1.181 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.3673, allocations: 238.4 kB / 1.181 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.3702, allocations: 2.498 MB / 1.183 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.3716, allocations: 0.5498 MB / 1.184 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.3719, allocations: 160.8 kB / 1.184 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3719, allocations: 4 kB / 1.184 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3719, allocations: 38.56 kB / 1.184 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.3719, allocations: 4 kB / 1.184 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.001587/0.3735, allocations: 0.8983 MB / 1.185 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.3736, allocations: 55.41 kB / 1.185 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3747, allocations: 0.9194 MB / 1.186 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.3747, allocations: 45.7 kB / 1.186 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.375, allocations: 365.2 kB / 1.186 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3751, allocations: 126.9 kB / 1.186 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.3753, allocations: 170.6 kB / 1.187 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3755, allocations: 394.8 kB / 1.187 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.3758, allocations: 241.8 kB / 1.187 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.3765, allocations: 0.6387 MB / 1.188 GB, free: 420 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009885/0.3775, allocations: 0.8876 MB / 1.189 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.3775, allocations: 4 kB / 1.189 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001528/0.379, allocations: 1.022 MB / 1.19 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.379, allocations: 12 kB / 1.19 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.3791, allocations: 12.5 kB / 1.19 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004041/0.3795, allocations: 138.4 kB / 1.19 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.3801, allocations: 187.7 kB / 1.19 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/0.3834, allocations: 4.473 MB / 1.194 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009014/0.3843, allocations: 119.2 kB / 1.194 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.3844, allocations: 44.06 kB / 1.195 GB, free: 8.875 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003073/0.3847, allocations: 273.3 kB / 1.195 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3848, allocations: 83.44 kB / 1.195 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.385, allocations: 76.53 kB / 1.195 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.385, allocations: 3.984 kB / 1.195 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.385, allocations: 8 kB / 1.195 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.385, allocations: 4 kB / 1.195 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.3857, allocations: 0.657 MB / 1.196 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3857, allocations: 7.938 kB / 1.196 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.3861, allocations: 63.89 kB / 1.196 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002953/0.3864, allocations: 102.5 kB / 1.196 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.3864, allocations: 11.98 kB / 1.196 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003049/0.3895, allocations: 4.462 MB / 1.2 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3895, allocations: 0 / 1.2 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.3905, allocations: 0.7316 MB / 1.201 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.3908, allocations: 216.3 kB / 1.201 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.3909, allocations: 8 kB / 1.201 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.3914, allocations: 23.97 kB / 1.201 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.3915, allocations: 31.89 kB / 1.201 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.3915, allocations: 8 kB / 1.201 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007833/0.3923, allocations: 0.62 MB / 1.202 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3923, allocations: 0 / 1.202 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008448/0.3931, allocations: 267.8 kB / 1.202 GB, free: 0.7109 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.0001274/0.3933, allocations: 107.2 kB / 1.202 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.3946, allocations: 0.9282 MB / 1.203 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3946, allocations: 0 / 1.203 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005808/0.3952, allocations: 0.5206 MB / 1.204 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008147/0.396, allocations: 186.3 kB / 1.204 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.3983, allocations: 1.749 MB / 1.205 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.3989, allocations: 0.9878 MB / 1.206 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003335/0.3992, allocations: 149.9 kB / 1.207 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.3994, allocations: 47.44 kB / 1.207 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.3994, allocations: 0 / 1.207 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of Templates: time 0.01668/0.4161, allocations: 10.22 MB / 1.217 GB, free: 1.789 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches