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.001503/0.001503, allocations: 102.6 kB / 16.27 MB, free: 6.414 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.001502/0.001502, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.722/2.722, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.23 kB / 0.9245 GB, free: 8 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7197/0.7216, allocations: 162.2 MB / 1.083 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005585/0.7273, allocations: 4.791 MB / 1.088 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005554/0.7328, allocations: 3.269 MB / 1.091 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006098/0.7335, allocations: 20.34 kB / 1.091 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.735, allocations: 0.5197 MB / 1.091 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.7365, allocations: 0.7067 MB / 1.092 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.7381, allocations: 0.6383 MB / 1.093 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003159/0.7413, allocations: 2.588 MB / 1.095 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004732/0.7418, allocations: 293.5 kB / 1.095 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.7431, allocations: 0.7984 MB / 1.096 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.7442, allocations: 0.782 MB / 1.097 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.7444, allocations: 90.16 kB / 1.097 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.7447, allocations: 93.84 kB / 1.097 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005562/0.7452, allocations: 0.5076 MB / 1.098 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000807/0.746, allocations: 0.7411 MB / 1.098 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.7478, allocations: 1.653 MB / 1.1 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.7478, allocations: 0 / 1.1 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7478, allocations: 0 / 1.1 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.36e-05/0.7478, allocations: 1.031 kB / 1.1 GB, free: 8.172 MB / 0.8419 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.00357/0.7514, allocations: 1.94 MB / 1.102 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.7514, allocations: 10.66 kB / 1.102 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004787/0.7519, allocations: 170.8 kB / 1.102 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.7543, allocations: 1.122 MB / 1.103 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.7544, allocations: 58.22 kB / 1.103 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.7545, allocations: 82.44 kB / 1.103 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009896/0.7555, allocations: 0.5645 MB / 1.104 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.7555, allocations: 1.188 kB / 1.104 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.7556, allocations: 20.72 kB / 1.104 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.7556, allocations: 11.97 kB / 1.104 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/0.7562, allocations: 350.7 kB / 1.104 GB, free: 5.762 MB / 0.8419 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.005348/0.7615, allocations: 3.885 MB / 1.108 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.7627, allocations: 0.5107 MB / 1.108 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.763, allocations: 190.9 kB / 1.109 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.763, allocations: 4.25 kB / 1.109 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.7631, allocations: 36.2 kB / 1.109 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.7631, allocations: 0 / 1.109 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.002215/0.7653, allocations: 1.086 MB / 1.11 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.7654, allocations: 59.39 kB / 1.11 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.768, allocations: 1.793 MB / 1.112 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.942e-05/0.7681, allocations: 46.27 kB / 1.112 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005681/0.7687, allocations: 0.5856 MB / 1.112 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.7688, allocations: 110.6 kB / 1.112 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/0.7692, allocations: 240.9 kB / 1.113 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.7693, allocations: 353.2 kB / 1.113 GB, free: 336 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005476/0.7699, allocations: 327.7 kB / 1.113 GB, free: 248 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.7709, allocations: 0.9389 MB / 1.114 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.7725, allocations: 1.28 MB / 1.115 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.7725, allocations: 6.25 kB / 1.115 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00257/0.7751, allocations: 1.455 MB / 1.117 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.7751, allocations: 13.59 kB / 1.117 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.7752, allocations: 23.06 kB / 1.117 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006609/0.7758, allocations: 198.5 kB / 1.117 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/0.7765, allocations: 238.1 kB / 1.117 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004725/0.7813, allocations: 5.068 MB / 1.122 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.7828, allocations: 173.4 kB / 1.122 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/0.7829, allocations: 60.86 kB / 1.122 GB, free: 8.848 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.0007707/0.7837, allocations: 485.8 kB / 1.123 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.7839, allocations: 138.4 kB / 1.123 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.7842, allocations: 132 kB / 1.123 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.7842, allocations: 2.344 kB / 1.123 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.7842, allocations: 2.719 kB / 1.123 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.7842, allocations: 1.969 kB / 1.123 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.7855, allocations: 0.9425 MB / 1.124 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.7855, allocations: 1.891 kB / 1.124 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.7858, allocations: 51.7 kB / 1.124 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000496/0.7863, allocations: 165.5 kB / 1.124 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.7863, allocations: 12.17 kB / 1.124 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004437/0.7908, allocations: 5.031 MB / 1.129 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7908, allocations: 0 / 1.129 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.7923, allocations: 0.8857 MB / 1.13 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005621/0.7929, allocations: 303.6 kB / 1.13 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.793, allocations: 10.59 kB / 1.13 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005817/0.7936, allocations: 44.17 kB / 1.13 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/0.7937, allocations: 26.45 kB / 1.13 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.7937, allocations: 5.625 kB / 1.13 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001869/0.7956, allocations: 1.222 MB / 1.132 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7956, allocations: 0 / 1.132 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001362/0.797, allocations: 377 kB / 1.132 GB, free: 1.617 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.000141/0.7971, allocations: 105.1 kB / 1.132 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.7989, allocations: 1.147 MB / 1.133 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7989, allocations: 0.5 kB / 1.133 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007721/0.7997, allocations: 0.5715 MB / 1.134 GB, free: 344 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.8012, allocations: 336.3 kB / 1.134 GB, free: 160 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.8053, allocations: 2.55 MB / 1.137 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.8063, allocations: 1.302 MB / 1.138 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.8066, allocations: 66.16 kB / 1.138 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of SimCode: time 7.51e-07/0.8066, allocations: 0 / 1.138 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.04477/0.8514, allocations: 33.78 MB / 1.171 GB, free: 2.777 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches