Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.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.00178/0.00178, allocations: 85.48 kB / 19.44 MB, free: 332 kB / 13.93 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.001987/0.001987, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 3.388/3.388, allocations: 429.5 MB / 0.6729 GB, free: 3.984 MB / 0.6355 GB " [Timeout remaining time 176] 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.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse") translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.92e-05, allocations: 5.125 kB / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.00724/0.007269, allocations: 4.739 MB / 0.882 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006396/0.01367, allocations: 3.283 MB / 0.8852 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005219/0.01419, allocations: 31.75 kB / 0.8853 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.01579, allocations: 0.5164 MB / 0.8858 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.01753, allocations: 0.7929 MB / 0.8865 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.01919, allocations: 0.6858 MB / 0.8872 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003545/0.02274, allocations: 2.633 MB / 0.8898 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003558/0.02309, allocations: 154 kB / 0.8899 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.02508, allocations: 1.107 MB / 0.891 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.02635, allocations: 0.7208 MB / 0.8917 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.02655, allocations: 84 kB / 0.8918 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.02688, allocations: 96 kB / 0.8919 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0007203/0.0276, allocations: 0.5803 MB / 0.8925 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000717/0.02831, allocations: 498.8 kB / 0.8929 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.03034, allocations: 1.628 MB / 0.8945 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.03035, allocations: 0 / 0.8945 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.563e-06/0.03035, allocations: 0 / 0.8945 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.03037, allocations: 0 / 0.8945 GB, free: 5.105 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.004164/0.03454, allocations: 2.134 MB / 0.8966 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.03458, allocations: 12.03 kB / 0.8966 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004828/0.03506, allocations: 223.8 kB / 0.8968 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.03737, allocations: 1.083 MB / 0.8979 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/0.03743, allocations: 57.38 kB / 0.8979 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.03755, allocations: 76.38 kB / 0.898 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009177/0.03847, allocations: 0.4978 MB / 0.8985 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.03849, allocations: 8.125 kB / 0.8985 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.03854, allocations: 28.12 kB / 0.8985 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.03856, allocations: 12 kB / 0.8985 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005355/0.03909, allocations: 239.7 kB / 0.8988 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005146/0.04424, allocations: 3.199 MB / 0.9019 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.04538, allocations: 363.2 kB / 0.9022 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.04562, allocations: 110.6 kB / 0.9024 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.04566, allocations: 4 kB / 0.9024 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.0457, allocations: 41.39 kB / 0.9024 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 2.955e-06/0.0457, allocations: 0 / 0.9024 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.002066/0.04777, allocations: 0.6463 MB / 0.903 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.04783, allocations: 59.39 kB / 0.9031 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/0.05099, allocations: 1.961 MB / 0.905 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.998e-05/0.05106, allocations: 45.7 kB / 0.905 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008263/0.05189, allocations: 0.7558 MB / 0.9058 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.05205, allocations: 119 kB / 0.9059 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004335/0.05249, allocations: 308.5 kB / 0.9062 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003545/0.05284, allocations: 0.5589 MB / 0.9067 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.05319, allocations: 138.5 kB / 0.9069 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.05441, allocations: 1.064 MB / 0.9079 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.05616, allocations: 1.31 MB / 0.9092 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.05617, allocations: 4 kB / 0.9092 GB, free: 4.918 MB / 0.8698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0023/0.05847, allocations: 1.101 MB / 0.9103 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.0585, allocations: 18.59 kB / 0.9103 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/0.05853, allocations: 28.06 kB / 0.9103 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.05955, allocations: 198.9 kB / 0.9105 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008725/0.06042, allocations: 235.6 kB / 0.9107 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005582/0.06601, allocations: 5.749 MB / 0.9163 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.06746, allocations: 174.9 kB / 0.9165 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-05/0.06754, allocations: 60 kB / 0.9166 GB, free: 12.98 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (122): * Single equations (assignments): 119 * 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,5,100.0%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006024/0.06815, allocations: 379.9 kB / 0.9169 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.06839, allocations: 151 kB / 0.9171 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.06862, allocations: 114.2 kB / 0.9172 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.06862, allocations: 4 kB / 0.9172 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.06864, allocations: 8.031 kB / 0.9172 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.06864, allocations: 3.984 kB / 0.9172 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.07024, allocations: 0.9443 MB / 0.9181 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.07024, allocations: 0 / 0.9181 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.07051, allocations: 47.84 kB / 0.9182 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008443/0.07135, allocations: 166.9 kB / 0.9183 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.0714, allocations: 15.98 kB / 0.9183 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005297/0.0767, allocations: 5.703 MB / 0.9239 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.0767, allocations: 0 / 0.9239 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.07802, allocations: 0.6878 MB / 0.9246 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007197/0.07874, allocations: 222.9 kB / 0.9248 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.07889, allocations: 11.94 kB / 0.9248 GB, free: 4.062 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.07951, allocations: 35.94 kB / 0.9248 GB, free: 4.027 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.0796, allocations: 31.94 kB / 0.9249 GB, free: 3.996 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.07962, allocations: 4 kB / 0.9249 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001954/0.08157, allocations: 1.168 MB / 0.926 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.08157, allocations: 0 / 0.926 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001286/0.08286, allocations: 383.7 kB / 0.9264 GB, free: 2.453 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (conMul.lay[2].T[1],conMul.lay[2].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 (19): * 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: 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,5,100.0%), (1,5,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.0001708/0.08303, allocations: 111.2 kB / 0.9265 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.08487, allocations: 1.083 MB / 0.9275 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.08487, allocations: 0 / 0.9275 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009202/0.08579, allocations: 0.6739 MB / 0.9282 GB, free: 484 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.08727, allocations: 318.1 kB / 0.9285 GB, free: 168 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.09087, allocations: 2.187 MB / 0.9306 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008532/0.09173, allocations: 0.6661 MB / 0.9313 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005635/0.09229, allocations: 196.6 kB / 0.9315 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.09248, allocations: 68.5 kB / 0.9315 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of SimCode: time 7.32e-07/0.09248, allocations: 0 / 0.9315 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of Templates: time 0.0331/0.1256, allocations: 17.52 MB / 0.9486 GB, free: 11.84 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.03733021300286]