Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 80.59 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 172 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.894/2.894, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.338e-05/4.544e-05, allocations: 2.281 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.726/0.726, allocations: 141 MB / 1.138 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003855/0.7299, allocations: 3.508 MB / 1.141 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.7301, allocations: 21.81 kB / 1.141 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005554/0.7307, allocations: 182.2 kB / 1.141 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.7323, allocations: 0.8772 MB / 1.142 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008609/0.7332, allocations: 452.2 kB / 1.143 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.7344, allocations: 1.019 MB / 1.144 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.7347, allocations: 220.5 kB / 1.144 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.7358, allocations: 0.7042 MB / 1.145 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008323/0.7366, allocations: 294.8 kB / 1.145 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.42e-05/0.7367, allocations: 31.94 kB / 1.145 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009138/0.7376, allocations: 0.598 MB / 1.146 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.7378, allocations: 174.1 kB / 1.146 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.7379, allocations: 151.1 kB / 1.146 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008854/0.7388, allocations: 0.7647 MB / 1.147 GB, free: 45.06 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7388, allocations: 2.969 kB / 1.147 GB, free: 45.06 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7388, allocations: 2.5 kB / 1.147 GB, free: 45.06 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.7388, allocations: 0 / 1.147 GB, free: 45.06 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000933/0.7398, allocations: 0.6615 MB / 1.147 GB, free: 44.64 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.7398, allocations: 10.66 kB / 1.147 GB, free: 44.64 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009944/0.7408, allocations: 155.4 kB / 1.147 GB, free: 44.61 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.7413, allocations: 342.6 kB / 1.148 GB, free: 44.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.7413, allocations: 23.16 kB / 1.148 GB, free: 44.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.403e-05/0.7414, allocations: 33.78 kB / 1.148 GB, free: 44.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.7419, allocations: 430.5 kB / 1.148 GB, free: 44.26 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.742, allocations: 1.203 kB / 1.148 GB, free: 44.26 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.742, allocations: 9.938 kB / 1.148 GB, free: 44.26 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.742, allocations: 10.95 kB / 1.148 GB, free: 44.26 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.7425, allocations: 308.5 kB / 1.149 GB, free: 44.26 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.7437, allocations: 0.7873 MB / 1.149 GB, free: 44 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.7441, allocations: 278.5 kB / 1.15 GB, free: 43.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.7444, allocations: 174.3 kB / 1.15 GB, free: 43.97 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.7446, allocations: 38.28 kB / 1.15 GB, free: 43.97 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.7446, allocations: 36.78 kB / 1.15 GB, free: 43.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.7446, allocations: 0 / 1.15 GB, free: 43.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=35): time 0.001851/0.7464, allocations: 0.9547 MB / 1.151 GB, free: 43.7 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.7465, allocations: 54.19 kB / 1.151 GB, free: 43.63 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.7466, allocations: 255.1 kB / 1.151 GB, free: 43.53 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.7467, allocations: 35.33 kB / 1.151 GB, free: 43.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.7468, allocations: 183.1 kB / 1.151 GB, free: 43.39 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.825e-05/0.7468, allocations: 127.4 kB / 1.151 GB, free: 43.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.155e-05/0.7469, allocations: 62.94 kB / 1.151 GB, free: 43.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.747, allocations: 343.5 kB / 1.152 GB, free: 42.97 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.7472, allocations: 116 kB / 1.152 GB, free: 42.97 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.7474, allocations: 262.9 kB / 1.152 GB, free: 42.82 MB / 1.076 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.749, allocations: 0.6876 MB / 1.153 GB, free: 42.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.749, allocations: 4.844 kB / 1.153 GB, free: 42.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005074/0.7495, allocations: 350.7 kB / 1.153 GB, free: 42.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.7496, allocations: 6.656 kB / 1.153 GB, free: 42.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7496, allocations: 1.203 kB / 1.153 GB, free: 42.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.7496, allocations: 2.562 kB / 1.153 GB, free: 42.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.7499, allocations: 70.73 kB / 1.153 GB, free: 42.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.7499, allocations: 0 / 1.153 GB, free: 42.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.7502, allocations: 19.11 kB / 1.153 GB, free: 42.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.7503, allocations: 8.625 kB / 1.153 GB, free: 42.73 MB / 1.076 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.7504, allocations: 186.3 kB / 1.153 GB, free: 42.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.7505, allocations: 30.44 kB / 1.153 GB, free: 42.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.857e-05/0.7506, allocations: 46.11 kB / 1.153 GB, free: 42.6 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.7506, allocations: 2.969 kB / 1.153 GB, free: 42.6 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.7506, allocations: 0.8438 kB / 1.153 GB, free: 42.6 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004785/0.7511, allocations: 413.4 kB / 1.154 GB, free: 42.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.7524, allocations: 0.9329 MB / 1.155 GB, free: 42.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.7524, allocations: 10.22 kB / 1.155 GB, free: 42.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.7527, allocations: 84.36 kB / 1.155 GB, free: 42.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.7527, allocations: 6.594 kB / 1.155 GB, free: 42.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.7528, allocations: 14.89 kB / 1.155 GB, free: 42.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.7528, allocations: 8.953 kB / 1.155 GB, free: 42.07 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.7528, allocations: 10 kB / 1.155 GB, free: 42.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007888/0.7536, allocations: 0.6748 MB / 1.156 GB, free: 41.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.7537, allocations: 64.72 kB / 1.156 GB, free: 41.78 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.7537, allocations: 13.06 kB / 1.156 GB, free: 41.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.7541, allocations: 18.91 kB / 1.156 GB, free: 41.78 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.7542, allocations: 36.98 kB / 1.156 GB, free: 41.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.7542, allocations: 15.5 kB / 1.156 GB, free: 41.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001275/0.7543, allocations: 183.6 kB / 1.156 GB, free: 41.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7543, allocations: 0 / 1.156 GB, free: 41.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004533/0.7548, allocations: 112.7 kB / 1.156 GB, free: 41.69 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002884/0.7551, allocations: 151.7 kB / 1.156 GB, free: 41.6 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005212/0.7556, allocations: 295.8 kB / 1.156 GB, free: 41.59 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7556, allocations: 0.9688 kB / 1.156 GB, free: 41.59 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.7558, allocations: 166.5 kB / 1.157 GB, free: 41.59 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009607/0.7568, allocations: 173.9 kB / 1.157 GB, free: 41.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.758, allocations: 0.8704 MB / 1.158 GB, free: 41.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.7582, allocations: 218 kB / 1.158 GB, free: 41.05 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002525/0.7584, allocations: 99.02 kB / 1.158 GB, free: 41.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.7585, allocations: 35.78 kB / 1.158 GB, free: 41.05 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.7585, allocations: 0 / 1.158 GB, free: 41.05 MB / 1.076 GB Notification: Performance of Templates: time 0.01256/0.7711, allocations: 6.406 MB / 1.164 GB, free: 40.59 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.120998051017523]