Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 108 kB / 16.37 MB, free: 6.477 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.001278/0.001278, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 64.41 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3067, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.7128/1.02, allocations: 160.1 MB / 1.175 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005554/1.025, allocations: 3.802 MB / 1.179 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004584/1.026, allocations: 12.69 kB / 1.179 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007065/1.026, allocations: 184.9 kB / 1.179 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/1.029, allocations: 0.8398 MB / 1.18 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/1.03, allocations: 432.7 kB / 1.18 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001489/1.032, allocations: 1.015 MB / 1.181 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/1.032, allocations: 289.6 kB / 1.182 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000776/1.033, allocations: 405.8 kB / 1.182 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008649/1.034, allocations: 321.8 kB / 1.182 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/1.034, allocations: 30.25 kB / 1.182 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/1.035, allocations: 0.7076 MB / 1.183 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/1.036, allocations: 174.3 kB / 1.183 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/1.036, allocations: 212.6 kB / 1.183 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/1.037, allocations: 0.7511 MB / 1.184 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.037, allocations: 1.188 kB / 1.184 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.603e-06/1.037, allocations: 0 / 1.184 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.844e-06/1.037, allocations: 0 / 1.184 GB, free: 6.934 MB / 0.8887 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.001147/1.038, allocations: 0.7398 MB / 1.185 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.038, allocations: 10.69 kB / 1.185 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/1.039, allocations: 151.2 kB / 1.185 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006912/1.04, allocations: 398.1 kB / 1.185 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/1.04, allocations: 24.44 kB / 1.185 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/1.04, allocations: 32.53 kB / 1.185 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/1.041, allocations: 322.4 kB / 1.186 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/1.041, allocations: 4 kB / 1.186 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/1.041, allocations: 14.55 kB / 1.186 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/1.041, allocations: 7.312 kB / 1.186 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/1.041, allocations: 315.4 kB / 1.186 GB, free: 5.52 MB / 0.8887 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.001784/1.043, allocations: 1.196 MB / 1.187 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/1.044, allocations: 290.3 kB / 1.187 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/1.044, allocations: 195.7 kB / 1.188 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/1.044, allocations: 186.2 kB / 1.188 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/1.044, allocations: 37.34 kB / 1.188 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/1.044, allocations: 3.938 kB / 1.188 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of matching and sorting (n=35): time 0.002011/1.046, allocations: 1.027 MB / 1.189 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/1.046, allocations: 60.97 kB / 1.189 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/1.047, allocations: 318.7 kB / 1.189 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/1.047, allocations: 36.17 kB / 1.189 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/1.047, allocations: 180.6 kB / 1.189 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.508e-05/1.047, allocations: 123.2 kB / 1.19 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/1.047, allocations: 61.97 kB / 1.19 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.047, allocations: 341.5 kB / 1.19 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/1.047, allocations: 119.3 kB / 1.19 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/1.048, allocations: 161.8 kB / 1.19 GB, free: 2.258 MB / 0.8887 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.001663/1.049, allocations: 0.7663 MB / 1.191 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.049, allocations: 0 / 1.191 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005616/1.05, allocations: 354.5 kB / 1.191 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.05, allocations: 5.531 kB / 1.191 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.05, allocations: 0 / 1.191 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/1.05, allocations: 2.094 kB / 1.191 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/1.05, allocations: 69.81 kB / 1.191 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.05, allocations: 2.75 kB / 1.191 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/1.051, allocations: 18.89 kB / 1.191 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/1.051, allocations: 12.25 kB / 1.191 GB, free: 1.609 MB / 0.8887 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.00018/1.051, allocations: 169.2 kB / 1.192 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/1.051, allocations: 38.78 kB / 1.192 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/1.051, allocations: 53.62 kB / 1.192 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/1.051, allocations: 8.109 kB / 1.192 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/1.051, allocations: 3.984 kB / 1.192 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005507/1.052, allocations: 420.9 kB / 1.192 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/1.053, allocations: 1.059 MB / 1.193 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.053, allocations: 6.469 kB / 1.193 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/1.054, allocations: 85.33 kB / 1.193 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.054, allocations: 4.906 kB / 1.193 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/1.054, allocations: 9.156 kB / 1.193 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/1.054, allocations: 10.91 kB / 1.193 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.054, allocations: 7.125 kB / 1.193 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/1.055, allocations: 0.6866 MB / 1.194 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/1.055, allocations: 146.8 kB / 1.194 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/1.055, allocations: 11.75 kB / 1.194 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/1.055, allocations: 31.83 kB / 1.194 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/1.055, allocations: 30.34 kB / 1.194 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/1.055, allocations: 12.94 kB / 1.194 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002136/1.056, allocations: 241 kB / 1.194 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/1.056, allocations: 0 / 1.194 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004481/1.056, allocations: 105.9 kB / 1.194 GB, free: 15.39 MB / 0.9044 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.0003682/1.056, allocations: 169.9 kB / 1.195 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005471/1.057, allocations: 302 kB / 1.195 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.057, allocations: 1.938 kB / 1.195 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002607/1.057, allocations: 170.8 kB / 1.195 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/1.058, allocations: 229.8 kB / 1.195 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/1.06, allocations: 0.9592 MB / 1.196 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/1.06, allocations: 0.8198 MB / 1.197 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003045/1.06, allocations: 107.2 kB / 1.197 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/1.061, allocations: 30.97 kB / 1.197 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of SimCode: time 5.61e-07/1.061, allocations: 2.469 kB / 1.197 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of Templates: time 0.01285/1.073, allocations: 7.389 MB / 1.204 GB, free: 9.824 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches