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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001423/0.001423, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001584/0.001585, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.492/1.492, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.026/3.026, allocations: 482.2 MB / 0.7542 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 60.44 kB / 0.9232 GB, free: 29.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3343, allocations: 162.2 MB / 1.082 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.00651/0.3408, allocations: 4.808 MB / 1.086 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006344/0.3472, allocations: 3.245 MB / 1.089 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008108/0.348, allocations: 19.88 kB / 1.089 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.3499, allocations: 0.4937 MB / 1.09 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.3515, allocations: 0.6573 MB / 1.091 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.3531, allocations: 0.5879 MB / 1.091 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003266/0.3564, allocations: 2.622 MB / 1.094 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004645/0.3569, allocations: 293.4 kB / 1.094 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.3582, allocations: 0.841 MB / 1.095 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.3593, allocations: 0.8328 MB / 1.096 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.3595, allocations: 84 kB / 1.096 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.3597, allocations: 96 kB / 1.096 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005299/0.3602, allocations: 0.5102 MB / 1.096 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007999/0.361, allocations: 0.746 MB / 1.097 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.3627, allocations: 1.651 MB / 1.099 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3627, allocations: 0 / 1.099 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3628, allocations: 0 / 1.099 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.3628, allocations: 0 / 1.099 GB, free: 12.22 MB / 0.8575 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.003527/0.3663, allocations: 1.929 MB / 1.101 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/0.3664, allocations: 8.031 kB / 1.101 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.3668, allocations: 174.8 kB / 1.101 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.3689, allocations: 1.128 MB / 1.102 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.369, allocations: 57.38 kB / 1.102 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.3692, allocations: 84.36 kB / 1.102 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009829/0.3701, allocations: 0.5674 MB / 1.103 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.3702, allocations: 3.938 kB / 1.103 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.3702, allocations: 16 kB / 1.103 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.3702, allocations: 12 kB / 1.103 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006148/0.3709, allocations: 355.6 kB / 1.103 GB, free: 7.758 MB / 0.8575 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.005245/0.3761, allocations: 3.878 MB / 1.107 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.3773, allocations: 0.5196 MB / 1.107 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.3776, allocations: 192.7 kB / 1.107 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3777, allocations: 0 / 1.107 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3777, allocations: 42.5 kB / 1.107 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.272e-06/0.3777, allocations: 0 / 1.107 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.002326/0.38, allocations: 1.078 MB / 1.108 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.3801, allocations: 63.34 kB / 1.109 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002569/0.3827, allocations: 1.797 MB / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.3827, allocations: 45.7 kB / 1.11 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005692/0.3833, allocations: 0.584 MB / 1.111 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.3835, allocations: 110.4 kB / 1.111 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.3838, allocations: 246.8 kB / 1.111 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.384, allocations: 349.9 kB / 1.112 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.3845, allocations: 326.4 kB / 1.112 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.3856, allocations: 0.9403 MB / 1.113 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.3872, allocations: 1.275 MB / 1.114 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.3872, allocations: 12 kB / 1.114 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002392/0.3896, allocations: 1.453 MB / 1.115 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.3896, allocations: 15.98 kB / 1.115 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.86e-05/0.3897, allocations: 24 kB / 1.115 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/0.3903, allocations: 194.7 kB / 1.116 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/0.391, allocations: 239.5 kB / 1.116 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0054/0.3964, allocations: 5.063 MB / 1.121 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.3978, allocations: 182.4 kB / 1.121 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/0.3978, allocations: 60 kB / 1.121 GB, free: 3.594 MB / 0.8731 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.0007502/0.3986, allocations: 489.1 kB / 1.122 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.3988, allocations: 138.2 kB / 1.122 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.399, allocations: 126.3 kB / 1.122 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.399, allocations: 4 kB / 1.122 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.3991, allocations: 4 kB / 1.122 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3991, allocations: 0 / 1.122 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.4003, allocations: 0.9446 MB / 1.123 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.4003, allocations: 4 kB / 1.123 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.4006, allocations: 44.14 kB / 1.123 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/0.4011, allocations: 174.4 kB / 1.123 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.4011, allocations: 15.88 kB / 1.123 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005039/0.4062, allocations: 5.012 MB / 1.128 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4062, allocations: 0 / 1.128 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.4077, allocations: 0.894 MB / 1.129 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/0.4082, allocations: 299.2 kB / 1.129 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.4083, allocations: 15.92 kB / 1.129 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.4089, allocations: 43.88 kB / 1.129 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/0.409, allocations: 27.97 kB / 1.129 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.409, allocations: 8 kB / 1.129 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001842/0.4109, allocations: 1.22 MB / 1.13 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4109, allocations: 0 / 1.13 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001264/0.4122, allocations: 387.6 kB / 1.131 GB, free: 9.246 MB / 0.8887 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.0001668/0.4123, allocations: 103.2 kB / 1.131 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.4141, allocations: 1.141 MB / 1.132 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4141, allocations: 4 kB / 1.132 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007693/0.4149, allocations: 0.5623 MB / 1.132 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.4163, allocations: 348.9 kB / 1.133 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.4203, allocations: 2.88 MB / 1.136 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.4214, allocations: 1.304 MB / 1.137 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006145/0.422, allocations: 248.8 kB / 1.137 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.4222, allocations: 63.44 kB / 1.137 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of SimCode: time 3.2e-07/0.4222, allocations: 0 / 1.137 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of Templates: time 0.03101/0.4533, allocations: 16.74 MB / 1.153 GB, free: 1.961 MB / 0.9044 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