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: "" <> 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.007232/0.007232, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001438/0.001438, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.482/2.482, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 67.88 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8752/0.8775, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1764/1.054, allocations: 160.1 MB / 1.323 GB, free: 3.027 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006049/1.06, allocations: 3.809 MB / 1.326 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005975/1.061, allocations: 11.94 kB / 1.326 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007714/1.061, allocations: 186.7 kB / 1.326 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002416/1.064, allocations: 0.8751 MB / 1.327 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/1.065, allocations: 426.9 kB / 1.328 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001428/1.067, allocations: 1.018 MB / 1.329 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005501/1.067, allocations: 288.9 kB / 1.329 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008277/1.068, allocations: 430.3 kB / 1.329 GB, free: 12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009949/1.069, allocations: 321.1 kB / 1.33 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.442e-05/1.069, allocations: 28 kB / 1.33 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/1.07, allocations: 0.7209 MB / 1.33 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/1.071, allocations: 151.6 kB / 1.331 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003339/1.071, allocations: 222.9 kB / 1.331 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/1.072, allocations: 0.7484 MB / 1.332 GB, free: 9.816 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.072, allocations: 0 / 1.332 GB, free: 9.816 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/1.072, allocations: 4 kB / 1.332 GB, free: 9.812 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.699e-05/1.072, allocations: 0 / 1.332 GB, free: 9.812 MB / 1.061 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.001352/1.074, allocations: 0.7528 MB / 1.332 GB, free: 9.012 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/1.074, allocations: 8.922 kB / 1.332 GB, free: 9.004 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.415e-05/1.074, allocations: 74.47 kB / 1.332 GB, free: 8.922 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/1.075, allocations: 155.6 kB / 1.332 GB, free: 8.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007072/1.076, allocations: 406.6 kB / 1.333 GB, free: 8.328 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/1.076, allocations: 20.66 kB / 1.333 GB, free: 8.309 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/1.076, allocations: 32 kB / 1.333 GB, free: 8.277 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/1.077, allocations: 322 kB / 1.333 GB, free: 7.961 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/1.077, allocations: 0 / 1.333 GB, free: 7.961 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/1.077, allocations: 12 kB / 1.333 GB, free: 7.949 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/1.077, allocations: 12 kB / 1.333 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005473/1.077, allocations: 310.3 kB / 1.334 GB, free: 7.629 MB / 1.061 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.00186/1.079, allocations: 1.205 MB / 1.335 GB, free: 6.316 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/1.08, allocations: 287.4 kB / 1.335 GB, free: 6.027 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/1.08, allocations: 185.3 kB / 1.335 GB, free: 5.844 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/1.08, allocations: 194.5 kB / 1.335 GB, free: 5.617 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/1.08, allocations: 34.84 kB / 1.335 GB, free: 5.574 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/1.08, allocations: 0 / 1.335 GB, free: 5.574 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.002226/1.082, allocations: 1.038 MB / 1.336 GB, free: 4.488 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/1.082, allocations: 55.41 kB / 1.336 GB, free: 4.422 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/1.083, allocations: 316.5 kB / 1.337 GB, free: 4.102 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/1.083, allocations: 33.7 kB / 1.337 GB, free: 4.062 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/1.083, allocations: 180.8 kB / 1.337 GB, free: 3.883 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/1.083, allocations: 130.9 kB / 1.337 GB, free: 3.754 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/1.083, allocations: 61.69 kB / 1.337 GB, free: 3.688 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.083, allocations: 342.8 kB / 1.337 GB, free: 3.344 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/1.084, allocations: 119.9 kB / 1.338 GB, free: 3.227 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/1.084, allocations: 165.9 kB / 1.338 GB, free: 3.055 MB / 1.061 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.001764/1.086, allocations: 0.7638 MB / 1.339 GB, free: 2.266 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.086, allocations: 0 / 1.339 GB, free: 2.266 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00062/1.086, allocations: 365 kB / 1.339 GB, free: 1.902 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.086, allocations: 4 kB / 1.339 GB, free: 1.898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.086, allocations: 0 / 1.339 GB, free: 1.898 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.086, allocations: 7.938 kB / 1.339 GB, free: 1.891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/1.087, allocations: 67.91 kB / 1.339 GB, free: 1.824 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/1.087, allocations: 0 / 1.339 GB, free: 1.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/1.087, allocations: 15.98 kB / 1.339 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/1.087, allocations: 12.03 kB / 1.339 GB, free: 1.797 MB / 1.061 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.0002025/1.087, allocations: 173.8 kB / 1.339 GB, free: 1.617 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.126e-05/1.087, allocations: 35.77 kB / 1.339 GB, free: 1.582 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/1.087, allocations: 60 kB / 1.339 GB, free: 1.523 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.088, allocations: 7.938 kB / 1.339 GB, free: 1.516 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.088, allocations: 0 / 1.339 GB, free: 1.516 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005546/1.088, allocations: 412.2 kB / 1.34 GB, free: 1.082 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/1.09, allocations: 1.067 MB / 1.341 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.09, allocations: 4 kB / 1.341 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/1.09, allocations: 84.36 kB / 1.341 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/1.09, allocations: 12 kB / 1.341 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/1.09, allocations: 8 kB / 1.341 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/1.09, allocations: 11.88 kB / 1.341 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.09, allocations: 8 kB / 1.341 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009308/1.091, allocations: 0.6804 MB / 1.341 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/1.091, allocations: 144.8 kB / 1.342 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/1.092, allocations: 15.94 kB / 1.342 GB, free: 14.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/1.092, allocations: 19.98 kB / 1.342 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/1.092, allocations: 35.91 kB / 1.342 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/1.092, allocations: 15.98 kB / 1.342 GB, free: 14.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002318/1.092, allocations: 235 kB / 1.342 GB, free: 14.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.4e-07/1.092, allocations: 0 / 1.342 GB, free: 14.57 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004979/1.093, allocations: 107.9 kB / 1.342 GB, free: 14.47 MB / 1.076 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.001484/1.094, allocations: 1.302 MB / 1.343 GB, free: 13.1 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005981/1.095, allocations: 303.6 kB / 1.344 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.095, allocations: 4 kB / 1.344 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/1.095, allocations: 164.6 kB / 1.344 GB, free: 12.64 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/1.096, allocations: 236.3 kB / 1.344 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/1.101, allocations: 3.671 MB / 1.348 GB, free: 8.574 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/1.102, allocations: 0.8274 MB / 1.348 GB, free: 7.723 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004652/1.102, allocations: 103.2 kB / 1.348 GB, free: 7.617 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/1.102, allocations: 119.4 kB / 1.349 GB, free: 7.5 MB / 1.076 GB Notification: Performance of SimCode: time 9.22e-07/1.102, allocations: 0 / 1.349 GB, free: 7.5 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/1.138, allocations: 11.18 MB / 1.359 GB, free: 12.56 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/9.476, allocations: 22.52 kB / 1.359 GB, free: 12.54 MB / 1.092 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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