Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001357/0.001357, 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.001305/0.001305, allocations: 191.7 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.424/1.424, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.821/2.821, allocations: 469.8 MB / 0.742 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 64.17 kB / 0.908 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3147, allocations: 159.2 MB / 1.063 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.006421/0.3212, allocations: 4.789 MB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00553/0.3268, allocations: 3.255 MB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000535/0.3273, allocations: 19.88 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.3288, allocations: 0.4937 MB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.3301, allocations: 0.6573 MB / 1.072 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.3315, allocations: 0.5895 MB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003316/0.3348, allocations: 2.623 MB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005207/0.3353, allocations: 293.4 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.3369, allocations: 0.8488 MB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.3379, allocations: 0.8289 MB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.3381, allocations: 88 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.3383, allocations: 96 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005319/0.3388, allocations: 0.5064 MB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007861/0.3396, allocations: 0.7499 MB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.3412, allocations: 1.647 MB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3412, allocations: 0 / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3413, allocations: 0 / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.3413, allocations: 0 / 1.081 GB, free: 13.12 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.003232/0.3445, allocations: 1.94 MB / 1.082 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3446, allocations: 8.031 kB / 1.082 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/0.3448, allocations: 174.9 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.3465, allocations: 1.117 MB / 1.084 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.3466, allocations: 57.38 kB / 1.084 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.3467, allocations: 84.28 kB / 1.084 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009152/0.3476, allocations: 0.5712 MB / 1.084 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3477, allocations: 0 / 1.084 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.3477, allocations: 16 kB / 1.084 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.3477, allocations: 12 kB / 1.084 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006073/0.3483, allocations: 359.5 kB / 1.085 GB, free: 8.66 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.004956/0.3533, allocations: 3.882 MB / 1.089 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.3545, allocations: 0.5026 MB / 1.089 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.3548, allocations: 188.8 kB / 1.089 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.3548, allocations: 0 / 1.089 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.3549, allocations: 38.56 kB / 1.089 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.443e-06/0.3549, allocations: 3.938 kB / 1.089 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.00211/0.357, allocations: 1.08 MB / 1.09 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.357, allocations: 63.34 kB / 1.09 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.3594, allocations: 1.801 MB / 1.092 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.3595, allocations: 45.7 kB / 1.092 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005392/0.36, allocations: 0.584 MB / 1.093 GB, free: 44 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.3602, allocations: 114.4 kB / 1.093 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.3605, allocations: 238.9 kB / 1.093 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3606, allocations: 349.9 kB / 1.093 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/0.3611, allocations: 322.4 kB / 1.094 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.3622, allocations: 0.952 MB / 1.095 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.3637, allocations: 1.267 MB / 1.096 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.3637, allocations: 8 kB / 1.096 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002292/0.366, allocations: 1.461 MB / 1.097 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.3661, allocations: 12 kB / 1.097 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/0.3661, allocations: 24 kB / 1.097 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006007/0.3667, allocations: 190.7 kB / 1.098 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/0.3674, allocations: 243.6 kB / 1.098 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00476/0.3722, allocations: 5.064 MB / 1.103 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.3735, allocations: 182.5 kB / 1.103 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.3735, allocations: 60.06 kB / 1.103 GB, free: 4.512 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.0006737/0.3742, allocations: 493 kB / 1.103 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.3744, allocations: 134.1 kB / 1.104 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.3746, allocations: 130.3 kB / 1.104 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3746, allocations: 4 kB / 1.104 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.3746, allocations: 4 kB / 1.104 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3747, allocations: 3.984 kB / 1.104 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.3758, allocations: 0.9447 MB / 1.105 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3758, allocations: 0 / 1.105 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.3761, allocations: 39.97 kB / 1.105 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005008/0.3766, allocations: 170.4 kB / 1.105 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.3766, allocations: 15.92 kB / 1.105 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004527/0.3812, allocations: 5.02 MB / 1.11 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3812, allocations: 0 / 1.11 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.3826, allocations: 0.8922 MB / 1.111 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000481/0.3831, allocations: 303.1 kB / 1.111 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.3832, allocations: 19.88 kB / 1.111 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.3838, allocations: 43.78 kB / 1.111 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.3839, allocations: 39.89 kB / 1.111 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3839, allocations: 4 kB / 1.111 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001753/0.3857, allocations: 1.216 MB / 1.112 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3857, allocations: 0 / 1.112 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001226/0.3869, allocations: 383.7 kB / 1.113 GB, free: 10.16 MB / 0.8731 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.0001429/0.3871, allocations: 107.2 kB / 1.113 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.3888, allocations: 1.152 MB / 1.114 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3888, allocations: 0 / 1.114 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007489/0.3896, allocations: 0.5632 MB / 1.114 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.391, allocations: 342.6 kB / 1.115 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.3948, allocations: 2.882 MB / 1.117 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009917/0.3958, allocations: 1.308 MB / 1.119 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006167/0.3964, allocations: 240.9 kB / 1.119 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.3966, allocations: 63.44 kB / 1.119 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of SimCode: time 6.82e-07/0.3966, allocations: 0 / 1.119 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of Templates: time 0.03257/0.4291, allocations: 16.74 MB / 1.135 GB, free: 2.875 MB / 0.8887 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorStepResponse.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorStepResponse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches