Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001954/0.001954, allocations: 103 kB / 16.45 MB, free: 6.449 MB / 14.72 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.00254/0.00254, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.297/3.297, allocations: 0.4899 GB / 0.7915 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.HeatTransfer.Examples.ConductorStepResponse") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.58 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3711, allocations: 176.1 MB / 1.321 GB, free: 2.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.00656/0.3776, allocations: 4.831 MB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005994/0.3836, allocations: 3.346 MB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006424/0.3843, allocations: 31.69 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.3859, allocations: 0.5322 MB / 1.33 GB, free: 10.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.3875, allocations: 0.7194 MB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.3891, allocations: 0.6432 MB / 1.331 GB, free: 8.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003381/0.3924, allocations: 2.587 MB / 1.334 GB, free: 6.227 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.3928, allocations: 197.5 kB / 1.334 GB, free: 6.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.3941, allocations: 0.8334 MB / 1.335 GB, free: 5.184 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.3952, allocations: 0.7898 MB / 1.335 GB, free: 4.391 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.3954, allocations: 87.94 kB / 1.335 GB, free: 4.305 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.3956, allocations: 104 kB / 1.336 GB, free: 4.203 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005606/0.3962, allocations: 0.5257 MB / 1.336 GB, free: 3.676 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008043/0.397, allocations: 0.7538 MB / 1.337 GB, free: 2.918 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.3989, allocations: 1.681 MB / 1.338 GB, free: 1.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3989, allocations: 4 kB / 1.338 GB, free: 1.227 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3989, allocations: 0 / 1.338 GB, free: 1.227 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.401e-05/0.3989, allocations: 0 / 1.338 GB, free: 1.227 MB / 1.029 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.003572/0.4025, allocations: 2.002 MB / 1.34 GB, free: 15.16 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4025, allocations: 11.98 kB / 1.34 GB, free: 15.15 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003919/0.4029, allocations: 183.8 kB / 1.341 GB, free: 14.97 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.4048, allocations: 1.172 MB / 1.342 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/0.4049, allocations: 57.38 kB / 1.342 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.405, allocations: 80.38 kB / 1.342 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.4059, allocations: 0.5712 MB / 1.342 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.4059, allocations: 0 / 1.342 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/0.406, allocations: 20 kB / 1.342 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.406, allocations: 11.94 kB / 1.342 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/0.4066, allocations: 355.7 kB / 1.343 GB, free: 12.64 MB / 1.045 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00515/0.4118, allocations: 3.871 MB / 1.347 GB, free: 8.453 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.4129, allocations: 491.7 kB / 1.347 GB, free: 7.965 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.4133, allocations: 177.5 kB / 1.347 GB, free: 7.789 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.4133, allocations: 4 kB / 1.347 GB, free: 7.785 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.4133, allocations: 38.56 kB / 1.347 GB, free: 7.738 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 1.953e-06/0.4133, allocations: 0 / 1.347 GB, free: 7.738 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.002276/0.4156, allocations: 1.08 MB / 1.348 GB, free: 6.586 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.4156, allocations: 59.34 kB / 1.348 GB, free: 6.516 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.4182, allocations: 1.793 MB / 1.35 GB, free: 4.715 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.4183, allocations: 45.7 kB / 1.35 GB, free: 4.664 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005498/0.4188, allocations: 0.5886 MB / 1.351 GB, free: 4.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.4189, allocations: 111 kB / 1.351 GB, free: 3.961 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.4192, allocations: 242.8 kB / 1.351 GB, free: 3.719 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.4194, allocations: 349.9 kB / 1.351 GB, free: 3.371 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.42, allocations: 326.4 kB / 1.352 GB, free: 3.051 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.421, allocations: 0.9442 MB / 1.353 GB, free: 1.797 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.4226, allocations: 1.268 MB / 1.354 GB, free: 228 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.4226, allocations: 8 kB / 1.354 GB, free: 220 kB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002478/0.4251, allocations: 1.454 MB / 1.355 GB, free: 14.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.4251, allocations: 19.94 kB / 1.355 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.4251, allocations: 24 kB / 1.355 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/0.4258, allocations: 198.4 kB / 1.356 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007205/0.4265, allocations: 239.6 kB / 1.356 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005222/0.4317, allocations: 5.067 MB / 1.361 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.4334, allocations: 190.9 kB / 1.361 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.976e-05/0.4335, allocations: 60 kB / 1.361 GB, free: 8.535 MB / 1.061 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.0007701/0.4343, allocations: 491.3 kB / 1.361 GB, free: 8.047 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.4345, allocations: 139 kB / 1.362 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.4347, allocations: 130.3 kB / 1.362 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4347, allocations: 4 kB / 1.362 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.4347, allocations: 4 kB / 1.362 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4347, allocations: 3.984 kB / 1.362 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.436, allocations: 0.933 MB / 1.363 GB, free: 6.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.436, allocations: 0 / 1.363 GB, free: 6.777 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.4362, allocations: 47.91 kB / 1.363 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/0.4367, allocations: 166.4 kB / 1.363 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.4367, allocations: 11.94 kB / 1.363 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004938/0.4417, allocations: 5.024 MB / 1.368 GB, free: 1.105 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4417, allocations: 320 / 1.368 GB, free: 1.105 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.4433, allocations: 0.8918 MB / 1.369 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006969/0.444, allocations: 312 kB / 1.369 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.4442, allocations: 15.92 kB / 1.369 GB, free: 15.85 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.445, allocations: 43.94 kB / 1.369 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.4451, allocations: 28.03 kB / 1.369 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.4451, allocations: 8 kB / 1.369 GB, free: 15.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00224/0.4474, allocations: 1.216 MB / 1.37 GB, free: 14.56 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4474, allocations: 0 / 1.37 GB, free: 14.56 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001453/0.4488, allocations: 383.7 kB / 1.371 GB, free: 14.18 MB / 1.076 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.0001802/0.449, allocations: 111.2 kB / 1.371 GB, free: 14.06 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00244/0.4514, allocations: 1.083 MB / 1.372 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.4514, allocations: 4.062 kB / 1.372 GB, free: 12.94 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009603/0.4524, allocations: 0.5545 MB / 1.372 GB, free: 12.35 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.4546, allocations: 337 kB / 1.373 GB, free: 12.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004944/0.4596, allocations: 2.524 MB / 1.375 GB, free: 9.461 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/0.4611, allocations: 1.316 MB / 1.376 GB, free: 8.113 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008167/0.4619, allocations: 244.8 kB / 1.377 GB, free: 7.871 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.4622, allocations: 63.44 kB / 1.377 GB, free: 7.809 MB / 1.076 GB Notification: Performance of SimCode: time 1.703e-06/0.4622, allocations: 0 / 1.377 GB, free: 7.809 MB / 1.076 GB Notification: Performance of Templates: time 0.03404/0.4963, allocations: 17.14 MB / 1.393 GB, free: 6.922 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.696026701945812]