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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorStepResponse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|con.port_a.Q_flow|con1.port_a.Q_flow|con.T.1.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 199.9 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.74/2.74, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 65 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3961, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.006135/0.4023, allocations: 4.792 MB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005864/0.4082, allocations: 3.301 MB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008543/0.4091, allocations: 23.81 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.4109, allocations: 489.6 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.4126, allocations: 0.6731 MB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.4142, allocations: 0.549 MB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003812/0.418, allocations: 3.012 MB / 1.065 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004941/0.4185, allocations: 280.3 kB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.42, allocations: 0.7161 MB / 1.066 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.4211, allocations: 0.7937 MB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.4212, allocations: 56 kB / 1.066 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.4215, allocations: 64 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004714/0.4219, allocations: 482.4 kB / 1.067 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007602/0.4227, allocations: 0.7031 MB / 1.068 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.4241, allocations: 1.611 MB / 1.069 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4241, allocations: 0 / 1.069 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.01e-07/0.4241, allocations: 0 / 1.069 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.4241, allocations: 0 / 1.069 GB, free: 7.293 MB / 0.8262 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.003454/0.4276, allocations: 1.936 MB / 1.071 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.4276, allocations: 8.031 kB / 1.071 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.4279, allocations: 170.9 kB / 1.071 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.4297, allocations: 1.12 MB / 1.072 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.4298, allocations: 57.38 kB / 1.072 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.4299, allocations: 80.38 kB / 1.072 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008869/0.4308, allocations: 0.5634 MB / 1.073 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.4308, allocations: 3.938 kB / 1.073 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/0.4308, allocations: 20 kB / 1.073 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.4309, allocations: 12 kB / 1.073 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005672/0.4314, allocations: 359.6 kB / 1.073 GB, free: 2.836 MB / 0.8262 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.004829/0.4363, allocations: 3.882 MB / 1.077 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.4374, allocations: 0.4997 MB / 1.078 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.4377, allocations: 192.8 kB / 1.078 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.4378, allocations: 4 kB / 1.078 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.4378, allocations: 38.48 kB / 1.078 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 2.655e-06/0.4378, allocations: 0 / 1.078 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.002163/0.44, allocations: 1.084 MB / 1.079 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.44, allocations: 63.34 kB / 1.079 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/0.4425, allocations: 1.801 MB / 1.081 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.4426, allocations: 45.7 kB / 1.081 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005088/0.4431, allocations: 0.5839 MB / 1.081 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.4432, allocations: 114.4 kB / 1.082 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.4435, allocations: 238.8 kB / 1.082 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4437, allocations: 349.9 kB / 1.082 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/0.4442, allocations: 338.3 kB / 1.082 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009516/0.4452, allocations: 0.9364 MB / 1.083 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.4467, allocations: 1.279 MB / 1.085 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.4467, allocations: 4 kB / 1.085 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002395/0.4491, allocations: 1.446 MB / 1.086 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.4491, allocations: 16 kB / 1.086 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.4492, allocations: 20 kB / 1.086 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006401/0.4498, allocations: 198.6 kB / 1.086 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/0.4505, allocations: 239.5 kB / 1.086 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004113/0.4546, allocations: 4.693 MB / 1.091 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.4562, allocations: 182.4 kB / 1.091 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/0.4563, allocations: 64 kB / 1.091 GB, free: 15.08 MB / 0.8575 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.0007972/0.4571, allocations: 488.4 kB / 1.092 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.4573, allocations: 138.2 kB / 1.092 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.4576, allocations: 138.4 kB / 1.092 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4576, allocations: 0 / 1.092 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.4576, allocations: 4 kB / 1.092 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.4576, allocations: 0 / 1.092 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.4588, allocations: 0.9407 MB / 1.093 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4588, allocations: 0 / 1.093 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.459, allocations: 43.97 kB / 1.093 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005004/0.4595, allocations: 170.4 kB / 1.093 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.4596, allocations: 8 kB / 1.093 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004223/0.4638, allocations: 4.662 MB / 1.098 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4638, allocations: 0 / 1.098 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.4655, allocations: 0.8899 MB / 1.099 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007816/0.4663, allocations: 299.2 kB / 1.099 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/0.4666, allocations: 8 kB / 1.099 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007276/0.4674, allocations: 43.92 kB / 1.099 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4675, allocations: 31.91 kB / 1.099 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.4675, allocations: 8 kB / 1.099 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00227/0.4698, allocations: 1.223 MB / 1.1 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4698, allocations: 0 / 1.1 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001519/0.4713, allocations: 391.5 kB / 1.1 GB, free: 5.105 MB / 0.8575 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.0001628/0.4715, allocations: 103.2 kB / 1.101 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.4734, allocations: 1.11 MB / 1.102 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4735, allocations: 0 / 1.102 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008294/0.4743, allocations: 0.5632 MB / 1.102 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.4763, allocations: 325.4 kB / 1.103 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/0.4813, allocations: 2.883 MB / 1.105 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/0.4828, allocations: 1.304 MB / 1.107 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009417/0.4838, allocations: 244.8 kB / 1.107 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.4841, allocations: 67.38 kB / 1.107 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of SimCode: time 7.71e-07/0.4841, allocations: 0 / 1.107 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of Templates: time 0.02804/0.5121, allocations: 16.08 MB / 1.123 GB, free: 14.51 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) 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) Reference file matches