Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.48/2.48, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/2.986e-05, allocations: 8.922 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003985/0.004015, allocations: 2.822 MB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003803/0.007818, allocations: 2.807 MB / 0.8441 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.008082, allocations: 11.88 kB / 0.8441 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.009708, allocations: 0.529 MB / 0.8446 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.01033, allocations: 310.5 kB / 0.8449 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009335/0.01126, allocations: 390.8 kB / 0.8453 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001634/0.0129, allocations: 1.505 MB / 0.8468 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.01308, allocations: 74.16 kB / 0.8468 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008952/0.01398, allocations: 0.6082 MB / 0.8474 GB, free: 5.074 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000593/0.01457, allocations: 403.1 kB / 0.8478 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.432e-05/0.01467, allocations: 48 kB / 0.8479 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.01483, allocations: 59.94 kB / 0.8479 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003201/0.01515, allocations: 315.2 kB / 0.8482 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002751/0.01542, allocations: 255.4 kB / 0.8485 GB, free: 4.016 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007524/0.01618, allocations: 0.5919 MB / 0.849 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01618, allocations: 0 / 0.849 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01618, allocations: 0 / 0.849 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.01619, allocations: 4 kB / 0.849 GB, free: 3.418 MB / 0.8073 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.001422/0.01761, allocations: 0.942 MB / 0.85 GB, free: 2.449 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.01765, allocations: 8.031 kB / 0.85 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/0.01788, allocations: 72.86 kB / 0.85 GB, free: 2.371 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008411/0.01872, allocations: 455 kB / 0.8505 GB, free: 1.895 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.01874, allocations: 28.88 kB / 0.8505 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.01879, allocations: 40.38 kB / 0.8505 GB, free: 1.828 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.01911, allocations: 233.4 kB / 0.8508 GB, free: 1.574 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.01912, allocations: 4.188 kB / 0.8508 GB, free: 1.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.01913, allocations: 12.12 kB / 0.8508 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.01914, allocations: 4 kB / 0.8508 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.148e-05/0.01923, allocations: 74.23 kB / 0.8508 GB, free: 1.477 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.02034, allocations: 1.104 MB / 0.8519 GB, free: 340 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.02076, allocations: 270.8 kB / 0.8522 GB, free: 56 kB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.02081, allocations: 40.84 kB / 0.8522 GB, free: 12 kB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.02082, allocations: 4 kB / 0.8522 GB, free: 8 kB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.02086, allocations: 38.56 kB / 0.8523 GB, free: 15.96 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.02086, allocations: 0 / 0.8523 GB, free: 15.96 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0004969/0.02135, allocations: 187.7 kB / 0.8524 GB, free: 15.77 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.02138, allocations: 55.41 kB / 0.8525 GB, free: 15.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/0.02178, allocations: 0.5584 MB / 0.853 GB, free: 15.14 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.0218, allocations: 33.7 kB / 0.8531 GB, free: 15.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.02191, allocations: 230 kB / 0.8533 GB, free: 14.87 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.02196, allocations: 71.42 kB / 0.8534 GB, free: 14.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.02206, allocations: 110.2 kB / 0.8535 GB, free: 14.69 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.02217, allocations: 382.6 kB / 0.8538 GB, free: 14.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.02225, allocations: 60.11 kB / 0.8539 GB, free: 14.25 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.02243, allocations: 310.5 kB / 0.8542 GB, free: 13.81 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.02275, allocations: 444.9 kB / 0.8546 GB, free: 13.25 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.02276, allocations: 8 kB / 0.8546 GB, free: 13.24 MB / 0.823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004251/0.02318, allocations: 378.3 kB / 0.855 GB, free: 12.86 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.0232, allocations: 11.98 kB / 0.855 GB, free: 12.85 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.02321, allocations: 8.781 kB / 0.855 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.02337, allocations: 43.67 kB / 0.855 GB, free: 12.79 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.02367, allocations: 151.8 kB / 0.8552 GB, free: 12.64 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000941/0.02461, allocations: 1.205 MB / 0.8564 GB, free: 11.34 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.02488, allocations: 71.45 kB / 0.8564 GB, free: 11.27 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.02491, allocations: 24 kB / 0.8564 GB, free: 11.25 MB / 0.823 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.0001231/0.02503, allocations: 156.3 kB / 0.8566 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.02509, allocations: 31.95 kB / 0.8566 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.595e-05/0.02514, allocations: 65.84 kB / 0.8567 GB, free: 10.98 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.02514, allocations: 4 kB / 0.8567 GB, free: 10.98 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.02515, allocations: 0 / 0.8567 GB, free: 10.98 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.02515, allocations: 8.047 kB / 0.8567 GB, free: 10.97 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.02541, allocations: 257.5 kB / 0.8569 GB, free: 10.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.02542, allocations: 4 kB / 0.8569 GB, free: 10.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.02559, allocations: 59.94 kB / 0.857 GB, free: 10.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.76e-05/0.02569, allocations: 35.59 kB / 0.857 GB, free: 10.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.02571, allocations: 11.98 kB / 0.8571 GB, free: 10.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006025/0.02631, allocations: 1.249 MB / 0.8583 GB, free: 9.246 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.02631, allocations: 4 kB / 0.8583 GB, free: 9.242 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.02657, allocations: 316.6 kB / 0.8586 GB, free: 8.91 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.02669, allocations: 87.55 kB / 0.8587 GB, free: 8.824 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.02673, allocations: 15.98 kB / 0.8587 GB, free: 8.809 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.02688, allocations: 4 kB / 0.8587 GB, free: 8.805 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.02692, allocations: 15.97 kB / 0.8587 GB, free: 8.789 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.02693, allocations: 0 / 0.8587 GB, free: 8.789 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002369/0.02716, allocations: 272.5 kB / 0.859 GB, free: 8.523 MB / 0.823 GB Notification: Performance of sort global known variables: time 2e-08/0.02716, allocations: 0 / 0.859 GB, free: 8.523 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003919/0.02756, allocations: 179.9 kB / 0.8591 GB, free: 8.348 MB / 0.823 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.0001085/0.02766, allocations: 88.42 kB / 0.8592 GB, free: 8.254 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.02804, allocations: 318.3 kB / 0.8595 GB, free: 7.938 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.02804, allocations: 16.12 kB / 0.8595 GB, free: 7.922 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.02816, allocations: 167.4 kB / 0.8597 GB, free: 7.742 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.02861, allocations: 165.7 kB / 0.8598 GB, free: 7.578 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.02999, allocations: 1.073 MB / 0.8609 GB, free: 6.469 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.03012, allocations: 185.1 kB / 0.8611 GB, free: 6.266 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001751/0.0303, allocations: 64.66 kB / 0.8611 GB, free: 6.199 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.03058, allocations: 173.3 kB / 0.8613 GB, free: 6.027 MB / 0.823 GB Notification: Performance of SimCode: time 1.142e-06/0.03058, allocations: 0 / 0.8613 GB, free: 6.027 MB / 0.823 GB Notification: Performance of Templates: time 0.01228/0.04286, allocations: 9.578 MB / 0.8707 GB, free: 12.66 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.623070200905204]