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/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.0009655/0.0009655, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00106/0.00106, allocations: 169 kB / 23.28 MB, free: 1.223 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 0.9789/0.9789, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.361/2.361, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|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=2500,variableFilter="time|con.T.[0-9,]+.|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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.686e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003533/0.00355, allocations: 3.733 MB / 0.8934 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002773/0.006323, allocations: 2.493 MB / 0.8958 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.006565, allocations: 23.81 kB / 0.8958 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.00707, allocations: 238.3 kB / 0.896 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007155/0.007786, allocations: 0.5635 MB / 0.8966 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009132/0.008699, allocations: 0.5726 MB / 0.8972 GB, free: 2.121 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009598/0.009659, allocations: 1.433 MB / 0.8986 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.009805, allocations: 97.7 kB / 0.8986 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005497/0.01036, allocations: 0.6002 MB / 0.8992 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.01075, allocations: 426.8 kB / 0.8996 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 6.769e-05/0.01082, allocations: 56 kB / 0.8997 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.01094, allocations: 63.94 kB / 0.8998 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.01118, allocations: 410.9 kB / 0.9001 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.01139, allocations: 339.1 kB / 0.9005 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004773/0.01187, allocations: 0.6421 MB / 0.9011 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.01187, allocations: 0 / 0.9011 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.71e-07/0.01187, allocations: 0 / 0.9011 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.01188, allocations: 0 / 0.9011 GB, free: 14.07 MB / 0.8698 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.001162/0.01304, allocations: 1.331 MB / 0.9024 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.01308, allocations: 12.62 kB / 0.9024 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.01327, allocations: 136.3 kB / 0.9025 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.01375, allocations: 0.543 MB / 0.9031 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.01378, allocations: 37.03 kB / 0.9031 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.01383, allocations: 64.3 kB / 0.9032 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.01408, allocations: 309 kB / 0.9035 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.01409, allocations: 192 / 0.9035 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.0141, allocations: 15.94 kB / 0.9035 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.01411, allocations: 8 kB / 0.9035 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.01421, allocations: 108.4 kB / 0.9036 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.01568, allocations: 2.014 MB / 0.9056 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.01626, allocations: 387.1 kB / 0.9059 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.138e-05/0.01633, allocations: 71.62 kB / 0.906 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.01635, allocations: 4 kB / 0.906 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.01637, allocations: 41.33 kB / 0.906 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 1.232e-06/0.01637, allocations: 0 / 0.906 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.0005821/0.01695, allocations: 417.3 kB / 0.9064 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.01698, allocations: 55.41 kB / 0.9065 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/0.01752, allocations: 0.8463 MB / 0.9073 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.01754, allocations: 41.7 kB / 0.9074 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.01775, allocations: 443.8 kB / 0.9078 GB, free: 6.957 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.074e-05/0.01782, allocations: 126.9 kB / 0.9079 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.01796, allocations: 192.2 kB / 0.9081 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.01812, allocations: 0.5896 MB / 0.9087 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.0182, allocations: 65.94 kB / 0.9087 GB, free: 5.973 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.01852, allocations: 0.649 MB / 0.9094 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.01899, allocations: 0.8044 MB / 0.9101 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.01899, allocations: 4 kB / 0.9101 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007856/0.01978, allocations: 0.6872 MB / 0.9108 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.0198, allocations: 12 kB / 0.9108 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.01981, allocations: 12 kB / 0.9108 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.02006, allocations: 123.2 kB / 0.911 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.02035, allocations: 179.7 kB / 0.9111 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.02221, allocations: 5.297 MB / 0.9163 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.02256, allocations: 91.34 kB / 0.9164 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.02259, allocations: 44.12 kB / 0.9164 GB, free: 13.17 MB / 0.8855 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.0001306/0.02272, allocations: 224 kB / 0.9166 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.0228, allocations: 91.44 kB / 0.9167 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.02286, allocations: 76.41 kB / 0.9168 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.02286, allocations: 192 / 0.9168 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.02286, allocations: 4 kB / 0.9168 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.02287, allocations: 3.984 kB / 0.9168 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.02317, allocations: 368.6 kB / 0.9172 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.02318, allocations: 4 kB / 0.9172 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.02331, allocations: 55.91 kB / 0.9172 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002143/0.02353, allocations: 103 kB / 0.9173 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.02354, allocations: 7.984 kB / 0.9173 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.02539, allocations: 5.265 MB / 0.9225 GB, free: 6.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.02539, allocations: 4 kB / 0.9225 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.0258, allocations: 0.5074 MB / 0.923 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.02595, allocations: 123.4 kB / 0.9231 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.02599, allocations: 8 kB / 0.9231 GB, free: 5.918 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.02618, allocations: 15.92 kB / 0.9231 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.02622, allocations: 31.95 kB / 0.9231 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.02623, allocations: 0 / 0.9231 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003088/0.02654, allocations: 494.9 kB / 0.9236 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02654, allocations: 0 / 0.9236 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004784/0.02702, allocations: 267.8 kB / 0.9239 GB, free: 5.129 MB / 0.8855 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.0001161/0.02713, allocations: 111.2 kB / 0.924 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007598/0.02789, allocations: 0.8539 MB / 0.9248 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0279, allocations: 0 / 0.9248 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.02818, allocations: 0.6146 MB / 0.9254 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.02865, allocations: 169.8 kB / 0.9256 GB, free: 3.27 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.03012, allocations: 1.429 MB / 0.927 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.03023, allocations: 201.8 kB / 0.9272 GB, free: 1.582 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001592/0.03039, allocations: 81.56 kB / 0.9272 GB, free: 1.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.03067, allocations: 242.1 kB / 0.9275 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/0.03067, allocations: 0 / 0.9275 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of Templates: time 0.0132/0.04386, allocations: 11.46 MB / 0.9387 GB, free: 6.023 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.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.569248852785677]