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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_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.001421/0.001421, allocations: 108 kB / 15.61 MB, free: 148 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.001737/0.001737, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.698/2.698, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 61.88 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.289, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1613/0.4504, allocations: 160.1 MB / 1.22 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006425/0.4568, allocations: 3.802 MB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006276/0.4575, allocations: 15.88 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000765/0.4583, allocations: 178.8 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.4611, allocations: 0.8478 MB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.4622, allocations: 419.8 kB / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.4634, allocations: 1.022 MB / 1.226 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004071/0.4638, allocations: 290.6 kB / 1.226 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006016/0.4644, allocations: 410.4 kB / 1.227 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007558/0.4652, allocations: 320.5 kB / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.297e-05/0.4652, allocations: 35.98 kB / 1.227 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.4664, allocations: 0.7092 MB / 1.228 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.4666, allocations: 155.6 kB / 1.228 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.4668, allocations: 215 kB / 1.228 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009347/0.4678, allocations: 0.744 MB / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4678, allocations: 0 / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4678, allocations: 4 kB / 1.229 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.4678, allocations: 0 / 1.229 GB, free: 4.582 MB / 0.9825 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.001046/0.4689, allocations: 0.7285 MB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4689, allocations: 8.031 kB / 1.23 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.266e-05/0.469, allocations: 70.48 kB / 1.23 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.47, allocations: 151.3 kB / 1.23 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.4705, allocations: 378.5 kB / 1.23 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.4705, allocations: 24.66 kB / 1.23 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.4706, allocations: 35.91 kB / 1.23 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.4711, allocations: 322 kB / 1.231 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4712, allocations: 4 kB / 1.231 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.4712, allocations: 12 kB / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.4712, allocations: 7.984 kB / 1.231 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.4717, allocations: 314.4 kB / 1.231 GB, free: 2.449 MB / 0.9825 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.0016/0.4733, allocations: 1.205 MB / 1.232 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.4738, allocations: 291.3 kB / 1.232 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.4741, allocations: 189.3 kB / 1.233 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002586/0.4744, allocations: 194.4 kB / 1.233 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4744, allocations: 38.84 kB / 1.233 GB, free: 388 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.4744, allocations: 0 / 1.233 GB, free: 388 kB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.002013/0.4764, allocations: 1.031 MB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.4765, allocations: 55.41 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.4768, allocations: 316.5 kB / 1.234 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.4768, allocations: 37.7 kB / 1.234 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.4769, allocations: 180.7 kB / 1.234 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.425e-05/0.477, allocations: 118.2 kB / 1.234 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.4771, allocations: 61.7 kB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4773, allocations: 342.8 kB / 1.235 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.4775, allocations: 119.7 kB / 1.235 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.4777, allocations: 164 kB / 1.235 GB, free: 13.88 MB / 0.9981 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.001731/0.4795, allocations: 0.758 MB / 1.236 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4795, allocations: 0 / 1.236 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005733/0.4801, allocations: 364.8 kB / 1.236 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4801, allocations: 12.03 kB / 1.236 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4801, allocations: 0 / 1.236 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4801, allocations: 3.938 kB / 1.236 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.4804, allocations: 67.91 kB / 1.236 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4805, allocations: 4 kB / 1.236 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.4808, allocations: 17.7 kB / 1.236 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.4809, allocations: 12 kB / 1.236 GB, free: 12.62 MB / 0.9981 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.0001808/0.481, allocations: 185.7 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.4811, allocations: 35.62 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.544e-05/0.4812, allocations: 52 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4812, allocations: 4 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4812, allocations: 0 / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005327/0.4818, allocations: 408.2 kB / 1.237 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.4833, allocations: 1.07 MB / 1.238 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4833, allocations: 4 kB / 1.238 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.4837, allocations: 79.91 kB / 1.238 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.4837, allocations: 7.984 kB / 1.238 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.4838, allocations: 12.47 kB / 1.238 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.4838, allocations: 7.938 kB / 1.238 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4838, allocations: 15.88 kB / 1.238 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.4847, allocations: 0.6801 MB / 1.239 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.4849, allocations: 144.6 kB / 1.239 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.4849, allocations: 15.94 kB / 1.239 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.4853, allocations: 22.42 kB / 1.239 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.4853, allocations: 39.95 kB / 1.239 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.4854, allocations: 15.98 kB / 1.239 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002148/0.4856, allocations: 231 kB / 1.239 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4856, allocations: 0 / 1.239 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004498/0.4861, allocations: 112 kB / 1.239 GB, free: 9.285 MB / 0.9981 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.001356/0.4874, allocations: 1.278 MB / 1.241 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005881/0.488, allocations: 327.5 kB / 1.241 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.488, allocations: 0 / 1.241 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.4883, allocations: 168.7 kB / 1.241 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.4895, allocations: 232.7 kB / 1.241 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/0.4939, allocations: 3.702 MB / 1.245 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.4943, allocations: 0.8235 MB / 1.246 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003818/0.4947, allocations: 103.2 kB / 1.246 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.4949, allocations: 119.4 kB / 1.246 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.4949, allocations: 0 / 1.246 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5146/1.009, allocations: 11.07 MB / 1.257 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/9.124, allocations: 8.375 kB / 1.257 GB, free: 187.6 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv --start-time 0 --stop-time 2700 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.08 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches