Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001766/0.001766, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001918/0.001918, allocations: 183 kB / 17.34 MB, free: 5.742 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8536/0.8549, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005223/0.8602, allocations: 4.789 MB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005443/0.8657, allocations: 3.26 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009161/0.8666, allocations: 26 kB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.8684, allocations: 0.5289 MB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.8706, allocations: 0.7077 MB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.873, allocations: 0.6468 MB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004451/0.8774, allocations: 2.589 MB / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006542/0.8781, allocations: 292.9 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.8803, allocations: 0.819 MB / 1.102 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.8822, allocations: 0.7524 MB / 1.103 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004403/0.8826, allocations: 88.03 kB / 1.103 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007512/0.8834, allocations: 92.97 kB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.8844, allocations: 0.5253 MB / 1.103 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.8861, allocations: 0.736 MB / 1.104 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.8885, allocations: 1.668 MB / 1.106 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.8886, allocations: 5.25 kB / 1.106 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8886, allocations: 0 / 1.106 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.184e-05/0.8886, allocations: 0 / 1.106 GB, free: 11.78 MB / 0.8731 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.00382/0.8924, allocations: 1.927 MB / 1.108 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.8925, allocations: 9.812 kB / 1.108 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.8928, allocations: 175.4 kB / 1.108 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.8949, allocations: 1.153 MB / 1.109 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/0.895, allocations: 58.5 kB / 1.109 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.8951, allocations: 82.91 kB / 1.109 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.8962, allocations: 0.5678 MB / 1.11 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.8962, allocations: 1.062 kB / 1.11 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.8962, allocations: 21.58 kB / 1.11 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.8963, allocations: 15.56 kB / 1.11 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.8969, allocations: 354.3 kB / 1.11 GB, free: 9.363 MB / 0.8731 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.005593/0.9025, allocations: 3.858 MB / 1.114 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.9037, allocations: 0.5066 MB / 1.114 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.9041, allocations: 195.9 kB / 1.114 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.9041, allocations: 2.656 kB / 1.114 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.9041, allocations: 32.59 kB / 1.114 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.144e-06/0.9041, allocations: 0 / 1.114 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.002248/0.9064, allocations: 1.084 MB / 1.115 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.9065, allocations: 63.12 kB / 1.116 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/0.9091, allocations: 1.778 MB / 1.117 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.445e-05/0.9092, allocations: 46.08 kB / 1.117 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/0.9097, allocations: 0.5853 MB / 1.118 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.9099, allocations: 109.9 kB / 1.118 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.9102, allocations: 237.4 kB / 1.118 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.9103, allocations: 354 kB / 1.119 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/0.9109, allocations: 326.9 kB / 1.119 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.9119, allocations: 0.9388 MB / 1.12 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.9135, allocations: 1.28 MB / 1.121 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.9135, allocations: 5.812 kB / 1.121 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002438/0.9159, allocations: 1.458 MB / 1.122 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.916, allocations: 13.59 kB / 1.122 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/0.916, allocations: 22.12 kB / 1.122 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/0.9166, allocations: 196.5 kB / 1.123 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006919/0.9173, allocations: 241.6 kB / 1.123 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004387/0.9217, allocations: 5.062 MB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.9234, allocations: 174.7 kB / 1.128 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-05/0.9235, allocations: 64.28 kB / 1.128 GB, free: 12.48 MB / 0.8887 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.0007945/0.9243, allocations: 486.4 kB / 1.129 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.9245, allocations: 133 kB / 1.129 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.9247, allocations: 134.8 kB / 1.129 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.9247, allocations: 4.906 kB / 1.129 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.9247, allocations: 5.844 kB / 1.129 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.9248, allocations: 5.828 kB / 1.129 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.9261, allocations: 0.9351 MB / 1.13 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9261, allocations: 0 / 1.13 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.9264, allocations: 41.14 kB / 1.13 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/0.9269, allocations: 169 kB / 1.13 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.9269, allocations: 12.67 kB / 1.13 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004313/0.9313, allocations: 5.019 MB / 1.135 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9313, allocations: 0.75 kB / 1.135 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.9328, allocations: 0.8886 MB / 1.136 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/0.9333, allocations: 295.1 kB / 1.136 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.9335, allocations: 12.89 kB / 1.136 GB, free: 6.352 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005769/0.9341, allocations: 40.58 kB / 1.136 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.9342, allocations: 36.61 kB / 1.136 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.9342, allocations: 12.88 kB / 1.136 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001963/0.9362, allocations: 1.205 MB / 1.137 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9362, allocations: 0 / 1.137 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001493/0.9377, allocations: 380 kB / 1.138 GB, free: 5.852 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.000149/0.9378, allocations: 107.3 kB / 1.138 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001859/0.9397, allocations: 1.104 MB / 1.139 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9397, allocations: 0 / 1.139 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007613/0.9405, allocations: 0.5648 MB / 1.139 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.9421, allocations: 341.7 kB / 1.14 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.9464, allocations: 2.508 MB / 1.142 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.9475, allocations: 1.305 MB / 1.143 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.9478, allocations: 66.38 kB / 1.143 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of SimCode: time 7.52e-07/0.9479, allocations: 0 / 1.143 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of Templates: time 0.04772/0.9956, allocations: 33.91 MB / 1.177 GB, free: 1.941 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches