Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001784/0.001784, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001336/0.001336, allocations: 196.5 kB / 16.26 MB, free: 6.625 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.872/2.872, allocations: 469.8 MB / 0.742 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.88 kB / 0.908 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.325, allocations: 159.2 MB / 1.063 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005082/0.3301, allocations: 3.752 MB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004636/0.3348, allocations: 2.501 MB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005441/0.3354, allocations: 15.88 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000832/0.3362, allocations: 226.8 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.3373, allocations: 462 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.3386, allocations: 0.4888 MB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00184/0.3405, allocations: 1.394 MB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.3408, allocations: 141.1 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006705/0.3415, allocations: 430.4 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007284/0.3422, allocations: 0.545 MB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.72e-05/0.3423, allocations: 60 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.3424, allocations: 60 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.3428, allocations: 339 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004633/0.3433, allocations: 469.5 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000904/0.3442, allocations: 0.9225 MB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3442, allocations: 0 / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3442, allocations: 0 / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3442, allocations: 0 / 1.075 GB, free: 2.816 MB / 0.8262 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.002333/0.3466, allocations: 1.265 MB / 1.076 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3466, allocations: 12.03 kB / 1.076 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.3468, allocations: 103.7 kB / 1.076 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009858/0.3478, allocations: 0.6519 MB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.3478, allocations: 41.03 kB / 1.077 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.958e-05/0.3479, allocations: 60.31 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.3486, allocations: 422.8 kB / 1.077 GB, free: 148 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3486, allocations: 0 / 1.077 GB, free: 148 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.3487, allocations: 12 kB / 1.077 GB, free: 136 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.3487, allocations: 8 kB / 1.077 GB, free: 128 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.3491, allocations: 238.4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/0.3526, allocations: 2.502 MB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.3541, allocations: 0.5515 MB / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.3544, allocations: 160.8 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3545, allocations: 4 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3545, allocations: 30.56 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 2.295e-06/0.3545, allocations: 0 / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.001718/0.3562, allocations: 0.8895 MB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.3563, allocations: 55.41 kB / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.3576, allocations: 0.9193 MB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.3576, allocations: 45.64 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.358, allocations: 368.8 kB / 1.083 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.3581, allocations: 110.3 kB / 1.083 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.3583, allocations: 174.6 kB / 1.083 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.3586, allocations: 398.7 kB / 1.084 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.359, allocations: 241.8 kB / 1.084 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007437/0.3598, allocations: 0.6388 MB / 1.085 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.3609, allocations: 0.9007 MB / 1.085 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.3609, allocations: 4 kB / 1.085 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001708/0.3626, allocations: 1.014 MB / 1.086 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.3627, allocations: 12 kB / 1.086 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.3627, allocations: 12 kB / 1.086 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/0.3631, allocations: 126.7 kB / 1.087 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.3638, allocations: 195.6 kB / 1.087 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003882/0.3677, allocations: 4.48 MB / 1.091 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009739/0.3687, allocations: 111 kB / 1.091 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.3687, allocations: 40 kB / 1.091 GB, free: 0.793 MB / 0.8419 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.0003623/0.3691, allocations: 277.3 kB / 1.092 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3692, allocations: 78.97 kB / 1.092 GB, free: 444 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.3694, allocations: 80.59 kB / 1.092 GB, free: 360 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3694, allocations: 4 kB / 1.092 GB, free: 356 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.3694, allocations: 4 kB / 1.092 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3694, allocations: 3.984 kB / 1.092 GB, free: 348 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008009/0.3702, allocations: 0.6569 MB / 1.092 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3702, allocations: 3.938 kB / 1.092 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.3705, allocations: 63.94 kB / 1.092 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000311/0.3709, allocations: 106.4 kB / 1.093 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.3709, allocations: 11.98 kB / 1.093 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/0.3748, allocations: 4.442 MB / 1.097 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3749, allocations: 4.031 kB / 1.097 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.3761, allocations: 0.7332 MB / 1.098 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/0.3765, allocations: 211.9 kB / 1.098 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.3767, allocations: 8.188 kB / 1.098 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.3772, allocations: 27.88 kB / 1.098 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.3772, allocations: 23.95 kB / 1.098 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.3773, allocations: 11.98 kB / 1.098 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009123/0.3782, allocations: 0.62 MB / 1.098 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3782, allocations: 4 kB / 1.098 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009531/0.3792, allocations: 271.8 kB / 1.099 GB, free: 8.637 MB / 0.8575 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.0001662/0.3793, allocations: 111.9 kB / 1.099 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.381, allocations: 0.9628 MB / 1.1 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.381, allocations: 0 / 1.1 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006641/0.3817, allocations: 0.5165 MB / 1.1 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009082/0.3826, allocations: 177.3 kB / 1.1 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.3855, allocations: 1.978 MB / 1.102 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/0.3862, allocations: 0.9917 MB / 1.103 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004369/0.3866, allocations: 149.9 kB / 1.103 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.3868, allocations: 47.44 kB / 1.104 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of SimCode: time 6.41e-07/0.3868, allocations: 0 / 1.104 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of Templates: time 0.02103/0.4079, allocations: 10.09 MB / 1.113 GB, free: 9.59 MB / 0.8731 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches