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.007519/0.007519, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.002036/0.002036, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.517/2.517, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 60.12 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8555/0.8576, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1926/1.05, allocations: 160.1 MB / 1.323 GB, free: 2.98 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005468/1.056, allocations: 3.803 MB / 1.326 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/1.056, allocations: 15.94 kB / 1.326 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006225/1.057, allocations: 186.7 kB / 1.326 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/1.059, allocations: 0.8361 MB / 1.327 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/1.06, allocations: 431.9 kB / 1.328 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001329/1.061, allocations: 1.018 MB / 1.329 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004571/1.062, allocations: 287.7 kB / 1.329 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006657/1.062, allocations: 414.3 kB / 1.329 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009335/1.063, allocations: 325.4 kB / 1.33 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.038e-05/1.063, allocations: 28 kB / 1.33 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/1.065, allocations: 0.7132 MB / 1.33 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/1.065, allocations: 159.6 kB / 1.331 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002548/1.065, allocations: 222.9 kB / 1.331 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/1.067, allocations: 0.7436 MB / 1.331 GB, free: 9.828 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/1.067, allocations: 0 / 1.331 GB, free: 9.828 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.663e-06/1.067, allocations: 0 / 1.331 GB, free: 9.828 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.644e-05/1.067, allocations: 0 / 1.331 GB, free: 9.828 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.001264/1.068, allocations: 0.7589 MB / 1.332 GB, free: 9.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.068, allocations: 8.922 kB / 1.332 GB, free: 9.012 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.432e-05/1.068, allocations: 70.53 kB / 1.332 GB, free: 8.934 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/1.069, allocations: 151.6 kB / 1.332 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/1.07, allocations: 402.6 kB / 1.333 GB, free: 8.348 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/1.07, allocations: 32.64 kB / 1.333 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/1.07, allocations: 31.94 kB / 1.333 GB, free: 8.285 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/1.07, allocations: 326 kB / 1.333 GB, free: 7.965 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/1.07, allocations: 0 / 1.333 GB, free: 7.965 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/1.07, allocations: 12 kB / 1.333 GB, free: 7.953 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/1.07, allocations: 8 kB / 1.333 GB, free: 7.945 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005675/1.071, allocations: 310.3 kB / 1.333 GB, free: 7.637 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.001772/1.073, allocations: 1.205 MB / 1.335 GB, free: 6.324 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/1.073, allocations: 287.4 kB / 1.335 GB, free: 6.035 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/1.074, allocations: 183.5 kB / 1.335 GB, free: 5.855 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002869/1.074, allocations: 186.5 kB / 1.335 GB, free: 5.637 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/1.074, allocations: 46.83 kB / 1.335 GB, free: 5.582 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/1.074, allocations: 0 / 1.335 GB, free: 5.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.002129/1.076, allocations: 1.034 MB / 1.336 GB, free: 4.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/1.076, allocations: 59.39 kB / 1.336 GB, free: 4.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/1.076, allocations: 320.5 kB / 1.337 GB, free: 4.105 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/1.077, allocations: 33.7 kB / 1.337 GB, free: 4.066 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/1.077, allocations: 176.8 kB / 1.337 GB, free: 3.891 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/1.077, allocations: 126.9 kB / 1.337 GB, free: 3.766 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/1.077, allocations: 61.69 kB / 1.337 GB, free: 3.699 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.077, allocations: 346.8 kB / 1.337 GB, free: 3.352 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/1.077, allocations: 119.9 kB / 1.338 GB, free: 3.234 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/1.078, allocations: 162 kB / 1.338 GB, free: 3.066 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.001821/1.079, allocations: 0.7621 MB / 1.338 GB, free: 2.281 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/1.079, allocations: 0 / 1.338 GB, free: 2.281 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006225/1.08, allocations: 361 kB / 1.339 GB, free: 1.922 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.08, allocations: 7.984 kB / 1.339 GB, free: 1.914 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.08, allocations: 4.078 kB / 1.339 GB, free: 1.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/1.08, allocations: 11.92 kB / 1.339 GB, free: 1.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/1.08, allocations: 63.84 kB / 1.339 GB, free: 1.836 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.08, allocations: 4 kB / 1.339 GB, free: 1.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/1.081, allocations: 19.98 kB / 1.339 GB, free: 1.812 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/1.081, allocations: 8 kB / 1.339 GB, free: 1.805 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.0002076/1.081, allocations: 173.8 kB / 1.339 GB, free: 1.625 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/1.081, allocations: 43.77 kB / 1.339 GB, free: 1.582 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/1.081, allocations: 56 kB / 1.339 GB, free: 1.527 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.081, allocations: 7.938 kB / 1.339 GB, free: 1.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.081, allocations: 0 / 1.339 GB, free: 1.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000602/1.082, allocations: 412.2 kB / 1.34 GB, free: 1.086 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/1.084, allocations: 1.065 MB / 1.341 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.084, allocations: 4 kB / 1.341 GB, free: 15.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/1.084, allocations: 83.89 kB / 1.341 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.084, allocations: 4 kB / 1.341 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/1.084, allocations: 12 kB / 1.341 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/1.084, allocations: 11.88 kB / 1.341 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.084, allocations: 4.438 kB / 1.341 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/1.085, allocations: 0.6843 MB / 1.341 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/1.085, allocations: 148.9 kB / 1.342 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/1.085, allocations: 11.94 kB / 1.342 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/1.086, allocations: 19.98 kB / 1.342 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/1.086, allocations: 31.84 kB / 1.342 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/1.086, allocations: 20.06 kB / 1.342 GB, free: 14.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002467/1.086, allocations: 235 kB / 1.342 GB, free: 14.58 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.61e-07/1.086, allocations: 0 / 1.342 GB, free: 14.58 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004481/1.086, allocations: 111.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.001621/1.088, allocations: 1.29 MB / 1.343 GB, free: 13.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005999/1.089, allocations: 302 kB / 1.343 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.089, allocations: 3.984 kB / 1.343 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002851/1.089, allocations: 171.7 kB / 1.344 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/1.09, allocations: 230.3 kB / 1.344 GB, free: 12.43 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/1.095, allocations: 3.676 MB / 1.347 GB, free: 8.582 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/1.095, allocations: 0.8235 MB / 1.348 GB, free: 7.734 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003431/1.096, allocations: 103.2 kB / 1.348 GB, free: 7.629 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/1.096, allocations: 123.4 kB / 1.348 GB, free: 7.508 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/1.096, allocations: 0 / 1.348 GB, free: 7.508 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03711/1.133, allocations: 11.19 MB / 1.359 GB, free: 12.57 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/9.779, allocations: 14.98 kB / 1.359 GB, free: 12.55 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