Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.408/2.408, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 190 kB / 0.4902 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.66/1.66, allocations: 223.2 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008817/0.0008817, allocations: 99.25 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 15 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2818, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.4829, allocations: 159.7 MB / 1.385 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.4832, allocations: 83.95 kB / 1.385 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1097/0.5929, allocations: 28.97 MB / 1.414 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.453e-06/0.593, allocations: 0 / 1.414 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001039/0.5931, allocations: 20 kB / 1.414 GB, free: 12.58 MB / 0.9167 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.004061/0.5972, allocations: 1.203 MB / 1.415 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.5972, allocations: 16.52 kB / 1.415 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004817/0.5977, allocations: 102.8 kB / 1.415 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003189/0.6009, allocations: 1.061 MB / 1.416 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/0.601, allocations: 40.66 kB / 1.416 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.6012, allocations: 59.91 kB / 1.416 GB, free: 10 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008488/0.602, allocations: 403 kB / 1.416 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.6021, allocations: 11.88 kB / 1.416 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.6021, allocations: 16 kB / 1.416 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.6022, allocations: 8 kB / 1.416 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005842/0.6027, allocations: 234.4 kB / 1.417 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005022/0.6078, allocations: 2.58 MB / 1.419 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.6095, allocations: 0.546 MB / 1.42 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.6096, allocations: 4 kB / 1.42 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.6096, allocations: 38.56 kB / 1.42 GB, free: 5.945 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 2.615e-06/0.6096, allocations: 4 kB / 1.42 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.002123/0.6118, allocations: 0.8801 MB / 1.421 GB, free: 4.992 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.6118, allocations: 59.34 kB / 1.421 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.6135, allocations: 0.8092 MB / 1.421 GB, free: 4.105 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.341e-05/0.6136, allocations: 45.7 kB / 1.421 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.614, allocations: 372.7 kB / 1.422 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.6142, allocations: 114.4 kB / 1.422 GB, free: 3.57 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.6142, allocations: 16 kB / 1.422 GB, free: 3.555 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002176/0.6144, allocations: 398.7 kB / 1.422 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004498/0.6149, allocations: 245.8 kB / 1.423 GB, free: 2.918 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.6156, allocations: 0.631 MB / 1.423 GB, free: 2.09 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/0.6162, allocations: 339.4 kB / 1.424 GB, free: 1.758 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.6162, allocations: 4 kB / 1.424 GB, free: 1.754 MB / 0.9167 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001847/0.6181, allocations: 1.014 MB / 1.425 GB, free: 0.7227 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.6181, allocations: 12 kB / 1.425 GB, free: 0.7109 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.6181, allocations: 12 kB / 1.425 GB, free: 0.6992 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004729/0.6186, allocations: 130.7 kB / 1.425 GB, free: 0.5625 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.6193, allocations: 183.7 kB / 1.425 GB, free: 392 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6491/1.268, allocations: 4.203 MB / 1.429 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.27, allocations: 138.6 kB / 1.429 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/1.27, allocations: 37.59 kB / 1.429 GB, free: 176.7 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000477/1.271, allocations: 266.2 kB / 1.429 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/1.271, allocations: 85.48 kB / 1.429 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/1.271, allocations: 77.84 kB / 1.43 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.271, allocations: 7.625 kB / 1.43 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/1.271, allocations: 0.5625 kB / 1.43 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.271, allocations: 8.922 kB / 1.43 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008254/1.272, allocations: 0.7118 MB / 1.43 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.272, allocations: 3.719 kB / 1.43 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/1.272, allocations: 60.34 kB / 1.43 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003101/1.272, allocations: 105 kB / 1.43 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/1.272, allocations: 14.2 kB / 1.43 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/1.275, allocations: 4.168 MB / 1.434 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.275, allocations: 2.25 kB / 1.434 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.276, allocations: 0.7401 MB / 1.435 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004126/1.277, allocations: 218.9 kB / 1.435 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.401e-05/1.277, allocations: 7.438 kB / 1.435 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006312/1.277, allocations: 44.55 kB / 1.435 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/1.277, allocations: 22.08 kB / 1.435 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/1.277, allocations: 14.92 kB / 1.435 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009506/1.278, allocations: 0.613 MB / 1.436 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.51e-07/1.278, allocations: 1.188 kB / 1.436 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001193/1.28, allocations: 284.2 kB / 1.436 GB, free: 172.1 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002953/1.28, allocations: 165.5 kB / 1.437 GB, free: 172 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001467/1.281, allocations: 0.9209 MB / 1.437 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.281, allocations: 0 / 1.437 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006091/1.282, allocations: 0.5307 MB / 1.438 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/1.283, allocations: 164 kB / 1.438 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/1.286, allocations: 2.037 MB / 1.44 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/1.286, allocations: 1.005 MB / 1.441 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004886/1.287, allocations: 150.5 kB / 1.441 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/1.287, allocations: 47.31 kB / 1.441 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of SimCode: time 8.12e-07/1.287, allocations: 1.375 kB / 1.441 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of Templates: time 0.02465/1.312, allocations: 10.33 MB / 1.451 GB, free: 169.2 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches