Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_11_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.00815/0.00815, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.002202/0.002202, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.705/2.705, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6744/0.6763, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1782/0.8545, allocations: 160.1 MB / 1.377 GB, free: 1.281 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005086/0.8596, allocations: 3.814 MB / 1.38 GB, free: 13.46 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.8599, allocations: 23.81 kB / 1.38 GB, free: 13.43 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005616/0.8605, allocations: 178.7 kB / 1.38 GB, free: 13.26 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.8623, allocations: 0.8415 MB / 1.381 GB, free: 12.41 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.000904/0.8632, allocations: 427.1 kB / 1.382 GB, free: 12 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001202/0.8644, allocations: 1.018 MB / 1.383 GB, free: 10.98 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000444/0.8649, allocations: 299.6 kB / 1.383 GB, free: 10.68 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006334/0.8655, allocations: 406.3 kB / 1.383 GB, free: 10.29 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008363/0.8664, allocations: 316.6 kB / 1.384 GB, free: 9.977 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.394e-05/0.8665, allocations: 28 kB / 1.384 GB, free: 9.949 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.8678, allocations: 0.717 MB / 1.384 GB, free: 9.23 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.868, allocations: 155.6 kB / 1.385 GB, free: 9.078 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000257/0.8682, allocations: 211 kB / 1.385 GB, free: 8.871 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.8693, allocations: 0.7591 MB / 1.385 GB, free: 8.109 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.8694, allocations: 4 kB / 1.385 GB, free: 8.105 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8694, allocations: 0 / 1.385 GB, free: 8.105 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.8694, allocations: 0 / 1.385 GB, free: 8.105 MB / 1.107 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.001143/0.8705, allocations: 0.7511 MB / 1.386 GB, free: 7.305 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.8706, allocations: 8.031 kB / 1.386 GB, free: 7.297 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.267e-05/0.8707, allocations: 70.53 kB / 1.386 GB, free: 7.219 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.8717, allocations: 151.5 kB / 1.386 GB, free: 7.07 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.8723, allocations: 402.7 kB / 1.387 GB, free: 6.637 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.8724, allocations: 32.53 kB / 1.387 GB, free: 6.605 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.8724, allocations: 31.98 kB / 1.387 GB, free: 6.574 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.873, allocations: 326 kB / 1.387 GB, free: 6.246 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.873, allocations: 0 / 1.387 GB, free: 6.246 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.8731, allocations: 16 kB / 1.387 GB, free: 6.23 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.8731, allocations: 8 kB / 1.387 GB, free: 6.223 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/0.8737, allocations: 306.4 kB / 1.387 GB, free: 5.926 MB / 1.107 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.00172/0.8754, allocations: 1.202 MB / 1.389 GB, free: 4.613 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.8759, allocations: 283.4 kB / 1.389 GB, free: 4.328 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.8762, allocations: 185.3 kB / 1.389 GB, free: 4.145 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/0.8765, allocations: 186.5 kB / 1.389 GB, free: 3.926 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.8766, allocations: 38.84 kB / 1.389 GB, free: 3.879 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.8766, allocations: 0 / 1.389 GB, free: 3.879 MB / 1.107 GB Notification: Performance of matching and sorting (n=35): time 0.002181/0.8788, allocations: 1.047 MB / 1.39 GB, free: 2.781 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.8788, allocations: 55.41 kB / 1.39 GB, free: 2.715 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.8792, allocations: 320.5 kB / 1.391 GB, free: 2.395 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.8792, allocations: 33.7 kB / 1.391 GB, free: 2.355 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.8793, allocations: 180.8 kB / 1.391 GB, free: 2.176 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.8795, allocations: 122.9 kB / 1.391 GB, free: 2.055 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.8796, allocations: 61.7 kB / 1.391 GB, free: 1.988 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.8797, allocations: 346.8 kB / 1.391 GB, free: 1.641 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.88, allocations: 115.9 kB / 1.392 GB, free: 1.527 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.8803, allocations: 167.7 kB / 1.392 GB, free: 1.355 MB / 1.107 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.001854/0.8822, allocations: 0.7634 MB / 1.392 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.8822, allocations: 4 kB / 1.392 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006148/0.8828, allocations: 361 kB / 1.393 GB, free: 212 kB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.8828, allocations: 4 kB / 1.393 GB, free: 208 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.8828, allocations: 0 / 1.393 GB, free: 208 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.8828, allocations: 11.92 kB / 1.393 GB, free: 196 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.8832, allocations: 67.91 kB / 1.393 GB, free: 128 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.8832, allocations: 0 / 1.393 GB, free: 128 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.8835, allocations: 16.03 kB / 1.393 GB, free: 112 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.8835, allocations: 15.98 kB / 1.393 GB, free: 96 kB / 1.107 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.0002143/0.8838, allocations: 179.9 kB / 1.393 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.8838, allocations: 39.72 kB / 1.393 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.884, allocations: 56 kB / 1.393 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.884, allocations: 4 kB / 1.393 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.884, allocations: 3.938 kB / 1.393 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006169/0.8846, allocations: 404.2 kB / 1.394 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.8863, allocations: 1.067 MB / 1.395 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.8863, allocations: 4 kB / 1.395 GB, free: 14.21 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.8867, allocations: 88.36 kB / 1.395 GB, free: 14.12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.8868, allocations: 4 kB / 1.395 GB, free: 14.12 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.8868, allocations: 12 kB / 1.395 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.8868, allocations: 7.938 kB / 1.395 GB, free: 14.1 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.8868, allocations: 7.938 kB / 1.395 GB, free: 14.09 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.8878, allocations: 0.6919 MB / 1.395 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.888, allocations: 144.8 kB / 1.396 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.8881, allocations: 11.94 kB / 1.396 GB, free: 13.17 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.8884, allocations: 19.98 kB / 1.396 GB, free: 13.15 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.8885, allocations: 39.91 kB / 1.396 GB, free: 13.11 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.8885, allocations: 12 kB / 1.396 GB, free: 13.1 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002443/0.8888, allocations: 235 kB / 1.396 GB, free: 12.87 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8888, allocations: 0 / 1.396 GB, free: 12.87 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004448/0.8892, allocations: 111.9 kB / 1.396 GB, free: 12.76 MB / 1.123 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.001552/0.8908, allocations: 1.31 MB / 1.397 GB, free: 11.38 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006053/0.8914, allocations: 296.2 kB / 1.397 GB, free: 11.09 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8914, allocations: 0 / 1.397 GB, free: 11.09 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.8917, allocations: 180.5 kB / 1.398 GB, free: 10.92 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.8929, allocations: 220 kB / 1.398 GB, free: 10.71 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004828/0.8978, allocations: 3.671 MB / 1.401 GB, free: 6.863 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.8983, allocations: 0.8313 MB / 1.402 GB, free: 6.004 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003045/0.8986, allocations: 107.1 kB / 1.402 GB, free: 5.895 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.8988, allocations: 115.4 kB / 1.402 GB, free: 5.781 MB / 1.123 GB Notification: Performance of SimCode: time 2.9e-07/0.8988, allocations: 4 kB / 1.402 GB, free: 5.777 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05074/0.9495, allocations: 11.19 MB / 1.413 GB, free: 10.86 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/9.104, allocations: 9.984 kB / 1.413 GB, free: 10.85 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv --start-time 0 --stop-time 2700 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.08 Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches