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.004393/0.004393, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.00125/0.00125, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.717/2.717, allocations: 469.8 MB / 0.7425 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 71.83 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3017, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.7085/1.01, allocations: 160.1 MB / 1.377 GB, free: 7.918 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004905/1.015, allocations: 3.809 MB / 1.38 GB, free: 5.215 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002732/1.015, allocations: 16.88 kB / 1.38 GB, free: 5.207 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005678/1.016, allocations: 179.2 kB / 1.38 GB, free: 5.098 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/1.018, allocations: 0.8493 MB / 1.381 GB, free: 4.645 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009436/1.019, allocations: 419.2 kB / 1.382 GB, free: 4.371 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001196/1.02, allocations: 1.026 MB / 1.383 GB, free: 3.781 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/1.02, allocations: 295.2 kB / 1.383 GB, free: 3.598 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000594/1.021, allocations: 405.6 kB / 1.383 GB, free: 3.363 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007962/1.022, allocations: 315.9 kB / 1.384 GB, free: 3.184 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.738e-05/1.022, allocations: 30.81 kB / 1.384 GB, free: 3.184 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/1.023, allocations: 0.7146 MB / 1.384 GB, free: 2.793 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/1.023, allocations: 162.4 kB / 1.385 GB, free: 2.688 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002358/1.024, allocations: 213.8 kB / 1.385 GB, free: 2.555 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/1.025, allocations: 0.7501 MB / 1.385 GB, free: 2.086 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.025, allocations: 4 kB / 1.385 GB, free: 2.082 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.413e-06/1.025, allocations: 0 / 1.385 GB, free: 2.082 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.085e-05/1.025, allocations: 1.438 kB / 1.385 GB, free: 2.082 MB / 1.076 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.001091/1.026, allocations: 0.7538 MB / 1.386 GB, free: 1.434 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/1.026, allocations: 10 kB / 1.386 GB, free: 1.434 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.873e-05/1.026, allocations: 73.88 kB / 1.386 GB, free: 1.363 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/1.027, allocations: 147.5 kB / 1.386 GB, free: 1.297 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/1.028, allocations: 406.4 kB / 1.387 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/1.028, allocations: 20.66 kB / 1.387 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/1.028, allocations: 33.47 kB / 1.387 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/1.028, allocations: 322.3 kB / 1.387 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/1.028, allocations: 0 / 1.387 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/1.028, allocations: 19.41 kB / 1.387 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/1.028, allocations: 8.281 kB / 1.387 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/1.029, allocations: 312.5 kB / 1.388 GB, free: 0.582 MB / 1.076 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.001655/1.03, allocations: 1.192 MB / 1.389 GB, free: 15.57 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/1.031, allocations: 283.3 kB / 1.389 GB, free: 15.42 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/1.031, allocations: 199.2 kB / 1.389 GB, free: 15.32 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/1.032, allocations: 190.6 kB / 1.389 GB, free: 15.12 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/1.032, allocations: 37.25 kB / 1.389 GB, free: 15.07 MB / 1.092 GB Notification: Performance of pre-optimization done (n=33): time 3.136e-06/1.032, allocations: 3.984 kB / 1.389 GB, free: 15.07 MB / 1.092 GB Notification: Performance of matching and sorting (n=35): time 0.002033/1.034, allocations: 1.043 MB / 1.39 GB, free: 14.4 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/1.034, allocations: 56.28 kB / 1.39 GB, free: 14.34 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/1.034, allocations: 319.9 kB / 1.391 GB, free: 14.13 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/1.034, allocations: 32.83 kB / 1.391 GB, free: 14.09 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/1.034, allocations: 185.8 kB / 1.391 GB, free: 13.93 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/1.034, allocations: 121.7 kB / 1.391 GB, free: 13.82 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.034, allocations: 63.72 kB / 1.391 GB, free: 13.78 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.035, allocations: 339.3 kB / 1.391 GB, free: 13.45 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/1.035, allocations: 116.6 kB / 1.392 GB, free: 13.39 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/1.035, allocations: 166.4 kB / 1.392 GB, free: 13.3 MB / 1.092 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.001733/1.037, allocations: 0.759 MB / 1.392 GB, free: 12.87 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/1.037, allocations: 5.531 kB / 1.392 GB, free: 12.86 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005735/1.037, allocations: 353.9 kB / 1.393 GB, free: 12.68 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.037, allocations: 4.719 kB / 1.393 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.037, allocations: 1.25 kB / 1.393 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.037, allocations: 6.062 kB / 1.393 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/1.038, allocations: 67.41 kB / 1.393 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/1.038, allocations: 1.125 kB / 1.393 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/1.038, allocations: 19.36 kB / 1.393 GB, free: 12.65 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/1.038, allocations: 18.19 kB / 1.393 GB, free: 12.64 MB / 1.092 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.0001862/1.038, allocations: 171.5 kB / 1.393 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/1.038, allocations: 42.06 kB / 1.393 GB, free: 12.47 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/1.039, allocations: 53.88 kB / 1.393 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/1.039, allocations: 7.281 kB / 1.393 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/1.039, allocations: 2.125 kB / 1.393 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005593/1.039, allocations: 412.4 kB / 1.394 GB, free: 12.14 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/1.041, allocations: 1.058 MB / 1.395 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.041, allocations: 4.031 kB / 1.395 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/1.041, allocations: 90.61 kB / 1.395 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/1.041, allocations: 9.219 kB / 1.395 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/1.041, allocations: 11.03 kB / 1.395 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/1.041, allocations: 9.969 kB / 1.395 GB, free: 11.28 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.319e-06/1.041, allocations: 7.703 kB / 1.395 GB, free: 11.28 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009339/1.042, allocations: 0.6902 MB / 1.395 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/1.042, allocations: 146.1 kB / 1.396 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/1.042, allocations: 14.06 kB / 1.396 GB, free: 10.63 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/1.043, allocations: 25.42 kB / 1.396 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/1.043, allocations: 33.78 kB / 1.396 GB, free: 10.6 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/1.043, allocations: 20.23 kB / 1.396 GB, free: 10.59 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002269/1.043, allocations: 233.1 kB / 1.396 GB, free: 10.44 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.043, allocations: 3.938 kB / 1.396 GB, free: 10.43 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004263/1.043, allocations: 108.7 kB / 1.396 GB, free: 10.42 MB / 1.092 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.001516/1.045, allocations: 1.296 MB / 1.397 GB, free: 9.352 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005612/1.046, allocations: 310.2 kB / 1.398 GB, free: 9.215 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.046, allocations: 1.094 kB / 1.398 GB, free: 9.215 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/1.046, allocations: 167 kB / 1.398 GB, free: 9.145 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/1.047, allocations: 222.6 kB / 1.398 GB, free: 9.039 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/1.051, allocations: 3.69 MB / 1.401 GB, free: 6.383 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/1.052, allocations: 0.8197 MB / 1.402 GB, free: 5.625 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003081/1.052, allocations: 102.3 kB / 1.402 GB, free: 5.578 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/1.052, allocations: 125.5 kB / 1.403 GB, free: 5.48 MB / 1.092 GB Notification: Performance of SimCode: time 4.51e-07/1.052, allocations: 0 / 1.403 GB, free: 5.48 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.261/3.313, allocations: 11.2 MB / 1.413 GB, free: 15.18 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/15.61, allocations: 4.062 kB / 1.413 GB, free: 15.17 MB / 1.107 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --timeout=400 --tolerance=1e-06 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.mat","/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