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.001052/0.001052, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 182 kB / 16.92 MB, free: 6.922 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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.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.675/2.675, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6396/0.6401, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.158/0.7981, allocations: 155.8 MB / 1.176 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004991/0.8031, allocations: 3.782 MB / 1.18 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005517/0.8037, allocations: 11.88 kB / 1.18 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000546/0.8043, allocations: 147.1 kB / 1.18 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.8063, allocations: 0.7972 MB / 1.18 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009925/0.8073, allocations: 377.6 kB / 1.181 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001611/0.8089, allocations: 1.397 MB / 1.182 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004152/0.8093, allocations: 248.8 kB / 1.182 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006395/0.81, allocations: 358.5 kB / 1.183 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008734/0.8109, allocations: 332.5 kB / 1.183 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.8109, allocations: 12 kB / 1.183 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.8124, allocations: 0.8455 MB / 1.184 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.8126, allocations: 143.6 kB / 1.184 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.8128, allocations: 224.6 kB / 1.184 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006834/0.8135, allocations: 0.5301 MB / 1.185 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8135, allocations: 0 / 1.185 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8135, allocations: 7.938 kB / 1.185 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.8136, allocations: 0 / 1.185 GB, free: 10.25 MB / 0.9356 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.001037/0.8146, allocations: 0.6584 MB / 1.185 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8147, allocations: 8.031 kB / 1.185 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.8157, allocations: 155.3 kB / 1.186 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/0.8162, allocations: 378.5 kB / 1.186 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.8162, allocations: 20.66 kB / 1.186 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.8163, allocations: 28 kB / 1.186 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.8169, allocations: 334 kB / 1.186 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.8169, allocations: 3.906 kB / 1.186 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.8169, allocations: 15.94 kB / 1.186 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.817, allocations: 8 kB / 1.186 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.8175, allocations: 314.4 kB / 1.187 GB, free: 8.254 MB / 0.9356 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.001622/0.8191, allocations: 1.213 MB / 1.188 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.8196, allocations: 295.3 kB / 1.188 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.8199, allocations: 185.3 kB / 1.188 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.8202, allocations: 198.5 kB / 1.189 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.8202, allocations: 34.84 kB / 1.189 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.8202, allocations: 0 / 1.189 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.002099/0.8223, allocations: 1.043 MB / 1.19 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.8224, allocations: 59.41 kB / 1.19 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.8227, allocations: 316.5 kB / 1.19 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.8227, allocations: 33.7 kB / 1.19 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.8228, allocations: 176.7 kB / 1.19 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.823, allocations: 122.2 kB / 1.19 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.823, allocations: 33.7 kB / 1.19 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.8232, allocations: 350.8 kB / 1.191 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.8234, allocations: 123.9 kB / 1.191 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.8237, allocations: 170.9 kB / 1.191 GB, free: 3.664 MB / 0.9356 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.001773/0.8254, allocations: 0.7837 MB / 1.192 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.8254, allocations: 0 / 1.192 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000588/0.826, allocations: 360.7 kB / 1.192 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.8261, allocations: 8 kB / 1.192 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8261, allocations: 0 / 1.192 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.8261, allocations: 7.969 kB / 1.192 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.8264, allocations: 71.91 kB / 1.192 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.8264, allocations: 3.984 kB / 1.192 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.8268, allocations: 25.77 kB / 1.192 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.8269, allocations: 19.88 kB / 1.192 GB, free: 2.363 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.000195/0.8271, allocations: 177.7 kB / 1.192 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.8271, allocations: 35.62 kB / 1.192 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.8273, allocations: 52.06 kB / 1.192 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8273, allocations: 3.938 kB / 1.192 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8273, allocations: 4 kB / 1.192 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005633/0.8278, allocations: 424.2 kB / 1.193 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.8295, allocations: 1.078 MB / 1.194 GB, free: 472 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.8295, allocations: 4.047 kB / 1.194 GB, free: 468 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.8299, allocations: 83.88 kB / 1.194 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.8299, allocations: 8 kB / 1.194 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.8299, allocations: 8 kB / 1.194 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/0.8299, allocations: 15.88 kB / 1.194 GB, free: 352 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.8299, allocations: 8 kB / 1.194 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000939/0.8309, allocations: 0.696 MB / 1.195 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.831, allocations: 144.7 kB / 1.195 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.8311, allocations: 15.94 kB / 1.195 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.8314, allocations: 27.89 kB / 1.195 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.8315, allocations: 31.97 kB / 1.195 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.8316, allocations: 19.92 kB / 1.195 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002225/0.8318, allocations: 235 kB / 1.195 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8318, allocations: 0 / 1.195 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004585/0.8323, allocations: 104 kB / 1.195 GB, free: 14.99 MB / 0.9512 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.0003934/0.8327, allocations: 171.8 kB / 1.195 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005994/0.8333, allocations: 307.8 kB / 1.196 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.8333, allocations: 0 / 1.196 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.8336, allocations: 172 kB / 1.196 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.8349, allocations: 217.2 kB / 1.196 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.8365, allocations: 1.197 MB / 1.197 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.8369, allocations: 0.8273 MB / 1.198 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.837, allocations: 35.44 kB / 1.198 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.837, allocations: 0 / 1.198 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of Templates: time 0.008645/0.8457, allocations: 5.839 MB / 1.204 GB, free: 6.195 MB / 0.9512 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 -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