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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.008908/0.008908, allocations: 173.1 kB / 16.26 MB, free: 6.613 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.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.603/2.603, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 8 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6831/0.6835, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.166/0.8496, allocations: 155.8 MB / 1.175 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005684/0.8553, allocations: 3.777 MB / 1.179 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000594/0.856, allocations: 11.88 kB / 1.179 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006172/0.8566, allocations: 151.1 kB / 1.179 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.8589, allocations: 0.7898 MB / 1.18 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.8599, allocations: 389.1 kB / 1.18 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001728/0.8617, allocations: 1.397 MB / 1.182 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005518/0.8622, allocations: 252.8 kB / 1.182 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007532/0.863, allocations: 350.5 kB / 1.182 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.864, allocations: 329.7 kB / 1.183 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.472e-05/0.8641, allocations: 12 kB / 1.183 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.8657, allocations: 0.8455 MB / 1.183 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.8659, allocations: 147.6 kB / 1.184 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.8662, allocations: 224.6 kB / 1.184 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.8675, allocations: 0.771 MB / 1.184 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.8675, allocations: 0 / 1.184 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8675, allocations: 0 / 1.184 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.8675, allocations: 0 / 1.184 GB, free: 10.01 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.001137/0.8686, allocations: 0.6623 MB / 1.185 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.8687, allocations: 8.031 kB / 1.185 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.08e-05/0.8688, allocations: 70.53 kB / 1.185 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.8699, allocations: 147.3 kB / 1.185 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/0.8705, allocations: 382.5 kB / 1.186 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.8705, allocations: 24.66 kB / 1.186 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.8706, allocations: 31.91 kB / 1.186 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.8712, allocations: 330 kB / 1.186 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.8712, allocations: 0 / 1.186 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.8713, allocations: 15.98 kB / 1.186 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.8713, allocations: 8 kB / 1.186 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005892/0.8719, allocations: 318.4 kB / 1.186 GB, free: 7.938 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.001731/0.8736, allocations: 1.209 MB / 1.188 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.8741, allocations: 295.3 kB / 1.188 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.8744, allocations: 183.4 kB / 1.188 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002763/0.8747, allocations: 190.5 kB / 1.188 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.8748, allocations: 38.84 kB / 1.188 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/0.8748, allocations: 4 kB / 1.188 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.002434/0.8772, allocations: 1.05 MB / 1.189 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.8773, allocations: 55.41 kB / 1.189 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.8777, allocations: 320.5 kB / 1.19 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.8778, allocations: 37.64 kB / 1.19 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.878, allocations: 180.7 kB / 1.19 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.8781, allocations: 118.2 kB / 1.19 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.8782, allocations: 37.7 kB / 1.19 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.8784, allocations: 354.7 kB / 1.19 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.8787, allocations: 119.9 kB / 1.19 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.879, allocations: 174.2 kB / 1.191 GB, free: 3.34 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.001987/0.881, allocations: 0.7758 MB / 1.191 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.881, allocations: 0 / 1.191 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006603/0.8817, allocations: 365 kB / 1.192 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.8817, allocations: 4 kB / 1.192 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.8817, allocations: 7.984 kB / 1.192 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.8817, allocations: 3.938 kB / 1.192 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.8821, allocations: 67.91 kB / 1.192 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.8821, allocations: 8.031 kB / 1.192 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.8825, allocations: 24.64 kB / 1.192 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.8825, allocations: 19.98 kB / 1.192 GB, free: 2.043 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.0002082/0.8828, allocations: 171.3 kB / 1.192 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.8828, allocations: 39.53 kB / 1.192 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.883, allocations: 60 kB / 1.192 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.883, allocations: 4 kB / 1.192 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.883, allocations: 0 / 1.192 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006204/0.8836, allocations: 416.2 kB / 1.193 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.8853, allocations: 1.076 MB / 1.194 GB, free: 152 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-06/0.8853, allocations: 4 kB / 1.194 GB, free: 148 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.8857, allocations: 84.36 kB / 1.194 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.8857, allocations: 4 kB / 1.194 GB, free: 60 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.8857, allocations: 12 kB / 1.194 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.208e-06/0.8857, allocations: 11.88 kB / 1.194 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.8857, allocations: 4 kB / 1.194 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009702/0.8867, allocations: 0.7034 MB / 1.194 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.8869, allocations: 144.7 kB / 1.195 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.887, allocations: 15.94 kB / 1.195 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.8873, allocations: 27.89 kB / 1.195 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.8874, allocations: 35.91 kB / 1.195 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.8875, allocations: 19.94 kB / 1.195 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002238/0.8877, allocations: 235 kB / 1.195 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8877, allocations: 0 / 1.195 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004943/0.8882, allocations: 108 kB / 1.195 GB, free: 14.68 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.001591/0.8898, allocations: 1.301 MB / 1.196 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006233/0.8904, allocations: 299.6 kB / 1.196 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8905, allocations: 0 / 1.196 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.8908, allocations: 179.7 kB / 1.197 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.8922, allocations: 218.5 kB / 1.197 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/0.8973, allocations: 3.902 MB / 1.201 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.8977, allocations: 0.8313 MB / 1.201 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003836/0.8981, allocations: 103.2 kB / 1.202 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.8983, allocations: 123.3 kB / 1.202 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.8983, allocations: 0 / 1.202 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.9231, allocations: 10.45 MB / 1.212 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/0.9234, allocations: 271.6 kB / 1.212 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/3.071, allocations: 0 / 1.212 GB, free: 12.96 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > 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