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.001132/0.001132, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001918/0.00305, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001184/0.001184, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001839/0.003023, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9989/0.9989, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08114/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.386/2.386, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2387/2.625, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|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.[0-9,]+.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.447e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.004212/0.004227, allocations: 4.813 MB / 0.8236 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003581/0.007807, allocations: 3.35 MB / 0.8269 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.008139, allocations: 35.69 kB / 0.8269 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0009232/0.009062, allocations: 0.5476 MB / 0.8274 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0009117/0.009974, allocations: 0.8007 MB / 0.8282 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009776/0.01095, allocations: 0.6468 MB / 0.8289 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001861/0.01281, allocations: 2.586 MB / 0.8314 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.01303, allocations: 166.6 kB / 0.8315 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.01432, allocations: 1.501 MB / 0.833 GB, free: 3.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006541/0.01498, allocations: 0.6974 MB / 0.8337 GB, free: 3.281 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.01508, allocations: 88 kB / 0.8338 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.01527, allocations: 92 kB / 0.8339 GB, free: 3.105 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.01561, allocations: 0.5064 MB / 0.8344 GB, free: 2.598 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.01593, allocations: 419.1 kB / 0.8348 GB, free: 2.188 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0009089/0.01684, allocations: 1.062 MB / 0.8358 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.01685, allocations: 0 / 0.8358 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.182e-06/0.01685, allocations: 4 kB / 0.8358 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.01687, allocations: 0 / 0.8358 GB, free: 1.117 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001721/0.01859, allocations: 2.034 MB / 0.8378 GB, free: 15.05 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.668e-05/0.01861, allocations: 12.03 kB / 0.8378 GB, free: 15.04 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.01887, allocations: 237.9 kB / 0.838 GB, free: 14.79 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008183/0.01969, allocations: 0.8153 MB / 0.8388 GB, free: 13.94 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.01972, allocations: 57.38 kB / 0.8389 GB, free: 13.88 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/0.01979, allocations: 80.38 kB / 0.8389 GB, free: 13.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.02013, allocations: 392.2 kB / 0.8393 GB, free: 13.38 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.02014, allocations: 4.188 kB / 0.8393 GB, free: 13.38 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.02017, allocations: 20.12 kB / 0.8393 GB, free: 13.36 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.02018, allocations: 20 kB / 0.8394 GB, free: 13.34 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.02032, allocations: 121.7 kB / 0.8395 GB, free: 13.21 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.02185, allocations: 1.835 MB / 0.8413 GB, free: 11.32 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.02232, allocations: 342.7 kB / 0.8416 GB, free: 10.97 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.269e-05/0.02239, allocations: 61.34 kB / 0.8417 GB, free: 10.91 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.02241, allocations: 8 kB / 0.8417 GB, free: 10.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.02243, allocations: 34.56 kB / 0.8417 GB, free: 10.86 MB / 0.823 GB Notification: Performance of pre-optimization done (n=30): time 1.333e-06/0.02243, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.0007317/0.02316, allocations: 464 kB / 0.8421 GB, free: 10.39 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.02319, allocations: 59.41 kB / 0.8422 GB, free: 10.32 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009617/0.02415, allocations: 1.156 MB / 0.8433 GB, free: 9.152 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.02418, allocations: 45.7 kB / 0.8434 GB, free: 9.102 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.02438, allocations: 416.9 kB / 0.8438 GB, free: 8.688 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.394e-05/0.02445, allocations: 115 kB / 0.8439 GB, free: 8.574 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.02462, allocations: 230.7 kB / 0.8441 GB, free: 8.34 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.072e-05/0.0247, allocations: 349.8 kB / 0.8444 GB, free: 7.992 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.02481, allocations: 109.4 kB / 0.8445 GB, free: 7.887 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.02516, allocations: 0.7138 MB / 0.8452 GB, free: 6.863 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/0.02576, allocations: 0.9538 MB / 0.8462 GB, free: 5.602 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.02577, allocations: 8 kB / 0.8462 GB, free: 5.594 MB / 0.823 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.000793/0.02656, allocations: 0.8101 MB / 0.847 GB, free: 4.766 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.02658, allocations: 16 kB / 0.847 GB, free: 4.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.02659, allocations: 23.94 kB / 0.847 GB, free: 4.727 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000394/0.02699, allocations: 178.9 kB / 0.8472 GB, free: 4.539 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.02744, allocations: 271.6 kB / 0.8474 GB, free: 4.273 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.02952, allocations: 3.905 MB / 0.8512 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.02999, allocations: 139 kB / 0.8514 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.03003, allocations: 52 kB / 0.8514 GB, free: 15.88 MB / 0.8386 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.0001755/0.03021, allocations: 192.2 kB / 0.8516 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/0.03029, allocations: 79.84 kB / 0.8517 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.581e-05/0.03039, allocations: 110.3 kB / 0.8518 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.03039, allocations: 4 kB / 0.8518 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.0304, allocations: 4 kB / 0.8518 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.03041, allocations: 3.984 kB / 0.8518 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.03081, allocations: 468.4 kB / 0.8522 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.03081, allocations: 0 / 0.8522 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.03096, allocations: 74.5 kB / 0.8523 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.03116, allocations: 158.9 kB / 0.8525 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003266/0.03148, allocations: 142.9 kB / 0.8526 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.0315, allocations: 12 kB / 0.8526 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.03353, allocations: 3.953 MB / 0.8565 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.03353, allocations: 0 / 0.8565 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.03395, allocations: 486.2 kB / 0.8569 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.03403, allocations: 12.03 kB / 0.8569 GB, free: 9.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.03426, allocations: 11.98 kB / 0.857 GB, free: 9.832 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.03432, allocations: 35.83 kB / 0.857 GB, free: 9.797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.03433, allocations: 4 kB / 0.857 GB, free: 9.793 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004496/0.03477, allocations: 0.5835 MB / 0.8576 GB, free: 9.211 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.03477, allocations: 4 kB / 0.8576 GB, free: 9.207 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006381/0.03541, allocations: 379.7 kB / 0.8579 GB, free: 8.836 MB / 0.8386 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 9.471e-05/0.03551, allocations: 88.41 kB / 0.858 GB, free: 8.742 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006215/0.03613, allocations: 0.8004 MB / 0.8588 GB, free: 7.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/0.03614, allocations: 16 kB / 0.8588 GB, free: 7.895 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.03645, allocations: 496.4 kB / 0.8593 GB, free: 7.367 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.03834, allocations: 3.32 MB / 0.8625 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007866/0.04621, allocations: 1.992 MB / 0.8645 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.04643, allocations: 314 kB / 0.8648 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002465/0.04667, allocations: 125 kB / 0.8649 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/0.04712, allocations: 325.1 kB / 0.8652 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of SimCode: time 8.61e-07/0.04712, allocations: 0 / 0.8652 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of Templates: time 0.02283/0.06995, allocations: 20.36 MB / 0.8851 GB, free: 12.66 MB / 0.8698 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 -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.480003301985562]