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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001873/0.001873, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002079/0.002079, allocations: 195.3 kB / 16.14 MB, free: 6.711 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.71/2.71, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.88 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6932/0.6953, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2018/0.8972, allocations: 157.9 MB / 1.171 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005502/0.9027, allocations: 3.828 MB / 1.175 GB, free: 452 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.903, allocations: 7.938 kB / 1.175 GB, free: 444 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006298/0.9037, allocations: 155.1 kB / 1.175 GB, free: 288 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.9058, allocations: 0.7937 MB / 1.175 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008904/0.9067, allocations: 390.8 kB / 1.176 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.9083, allocations: 1.393 MB / 1.177 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004509/0.9088, allocations: 248.9 kB / 1.177 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006856/0.9094, allocations: 362.4 kB / 1.178 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009916/0.9105, allocations: 330.7 kB / 1.178 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.62e-05/0.9105, allocations: 16 kB / 1.178 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.9121, allocations: 0.8533 MB / 1.179 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.9123, allocations: 151.6 kB / 1.179 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.9125, allocations: 195 kB / 1.179 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.9136, allocations: 0.7789 MB / 1.18 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.9137, allocations: 0 / 1.18 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.91e-07/0.9137, allocations: 0 / 1.18 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.9137, allocations: 0 / 1.18 GB, free: 10.8 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.001212/0.9149, allocations: 0.748 MB / 1.181 GB, free: 10 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.9149, allocations: 12.03 kB / 1.181 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.916, allocations: 147.3 kB / 1.181 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.9166, allocations: 378.4 kB / 1.181 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.9167, allocations: 24.66 kB / 1.181 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.028e-05/0.9168, allocations: 36 kB / 1.181 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006102/0.9174, allocations: 333.9 kB / 1.182 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.9174, allocations: 0 / 1.182 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.9174, allocations: 8 kB / 1.182 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.9175, allocations: 8 kB / 1.182 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/0.918, allocations: 310.4 kB / 1.182 GB, free: 8.723 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.001926/0.92, allocations: 1.205 MB / 1.183 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.9205, allocations: 283.5 kB / 1.183 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/0.9208, allocations: 181.3 kB / 1.184 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003215/0.9212, allocations: 194.5 kB / 1.184 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.9212, allocations: 46.72 kB / 1.184 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.923e-06/0.9212, allocations: 0 / 1.184 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.002436/0.9237, allocations: 1.031 MB / 1.185 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.9237, allocations: 55.41 kB / 1.185 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.9242, allocations: 316.5 kB / 1.185 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.9242, allocations: 37.7 kB / 1.185 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.9244, allocations: 176.7 kB / 1.185 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.9245, allocations: 118.2 kB / 1.185 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.9246, allocations: 61.69 kB / 1.186 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.9248, allocations: 342.8 kB / 1.186 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.9251, allocations: 123.7 kB / 1.186 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.9254, allocations: 166.5 kB / 1.186 GB, free: 4.148 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.00193/0.9273, allocations: 0.7667 MB / 1.187 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.9273, allocations: 0 / 1.187 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006454/0.928, allocations: 356.7 kB / 1.187 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.928, allocations: 8 kB / 1.187 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.928, allocations: 0 / 1.187 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.928, allocations: 3.938 kB / 1.187 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.9284, allocations: 63.91 kB / 1.187 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.9284, allocations: 8.031 kB / 1.187 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.9288, allocations: 23.89 kB / 1.187 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.9289, allocations: 12 kB / 1.187 GB, free: 2.887 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 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.0002598/0.9292, allocations: 177.7 kB / 1.188 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.9293, allocations: 35.62 kB / 1.188 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.9294, allocations: 56.06 kB / 1.188 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.9294, allocations: 11.88 kB / 1.188 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.9294, allocations: 0 / 1.188 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006493/0.9301, allocations: 400.2 kB / 1.188 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.9319, allocations: 1.074 MB / 1.189 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.9319, allocations: 4 kB / 1.189 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.9323, allocations: 83.84 kB / 1.189 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.9323, allocations: 4 kB / 1.189 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.9324, allocations: 15.98 kB / 1.189 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.9324, allocations: 7.938 kB / 1.189 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/0.9324, allocations: 7.938 kB / 1.189 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.9335, allocations: 0.6882 MB / 1.19 GB, free: 136 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.9337, allocations: 148.6 kB / 1.19 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.9338, allocations: 11.94 kB / 1.19 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.9341, allocations: 19.98 kB / 1.19 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.9342, allocations: 35.97 kB / 1.19 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.9343, allocations: 23.94 kB / 1.19 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002581/0.9345, allocations: 227 kB / 1.19 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9345, allocations: 0 / 1.19 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005014/0.9351, allocations: 116 kB / 1.19 GB, free: 15.55 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.0004337/0.9355, allocations: 167.5 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006214/0.9361, allocations: 299.9 kB / 1.191 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9361, allocations: 0 / 1.191 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.9365, allocations: 163.7 kB / 1.191 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.9377, allocations: 215.2 kB / 1.191 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.9394, allocations: 1.088 MB / 1.192 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.9399, allocations: 0.8351 MB / 1.193 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003803/0.9403, allocations: 95.2 kB / 1.193 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.9405, allocations: 43.36 kB / 1.193 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of SimCode: time 5.11e-07/0.9405, allocations: 0 / 1.193 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of Templates: time 0.01412/0.9546, allocations: 7.035 MB / 1.2 GB, free: 5.648 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches