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.001717/0.001717, allocations: 108 kB / 15.61 MB, free: 152 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.001883/0.001883, allocations: 195.8 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.587/2.587, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 62.94 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.262, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1612/0.4232, allocations: 160.1 MB / 1.22 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004766/0.428, allocations: 3.804 MB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.4283, allocations: 15.94 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.4288, allocations: 178.7 kB / 1.224 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.4305, allocations: 0.8439 MB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000819/0.4313, allocations: 424.8 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.4324, allocations: 1.022 MB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/0.4328, allocations: 280.9 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.4334, allocations: 410.4 kB / 1.227 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007691/0.4342, allocations: 320.1 kB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.4343, allocations: 32 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.4354, allocations: 0.7053 MB / 1.228 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.4356, allocations: 159.6 kB / 1.228 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.4358, allocations: 219 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009226/0.4367, allocations: 0.7362 MB / 1.229 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4367, allocations: 7.922 kB / 1.229 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4367, allocations: 4 kB / 1.229 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4367, allocations: 0 / 1.229 GB, free: 4.312 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.001036/0.4378, allocations: 0.7285 MB / 1.23 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4378, allocations: 16.02 kB / 1.23 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.505e-05/0.4379, allocations: 62.55 kB / 1.23 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.4389, allocations: 155.3 kB / 1.23 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.4395, allocations: 378.5 kB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.4395, allocations: 20.66 kB / 1.231 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.4395, allocations: 35.91 kB / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/0.4401, allocations: 322 kB / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4401, allocations: 4 kB / 1.231 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.4402, allocations: 16 kB / 1.231 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.4402, allocations: 8 kB / 1.231 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/0.4407, allocations: 310.3 kB / 1.231 GB, free: 2.18 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.001626/0.4423, allocations: 1.209 MB / 1.233 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.4428, allocations: 293.2 kB / 1.233 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.4431, allocations: 194.9 kB / 1.233 GB, free: 384 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.4434, allocations: 186.5 kB / 1.233 GB, free: 160 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.4434, allocations: 38.84 kB / 1.233 GB, free: 112 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.4434, allocations: 0 / 1.233 GB, free: 112 kB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.002005/0.4454, allocations: 1.03 MB / 1.234 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.4455, allocations: 55.41 kB / 1.234 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.4458, allocations: 316.5 kB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.4458, allocations: 37.7 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.446, allocations: 180.7 kB / 1.235 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4461, allocations: 126.2 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-05/0.4462, allocations: 57.7 kB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4463, allocations: 346.8 kB / 1.235 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.4466, allocations: 123.6 kB / 1.235 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.4468, allocations: 158.5 kB / 1.236 GB, free: 13.6 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.001726/0.4486, allocations: 0.754 MB / 1.236 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4486, allocations: 0 / 1.236 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005814/0.4492, allocations: 364.9 kB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.4492, allocations: 9.594 kB / 1.237 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4492, allocations: 0 / 1.237 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4492, allocations: 7.938 kB / 1.237 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.4495, allocations: 63.91 kB / 1.237 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4495, allocations: 4 kB / 1.237 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.4498, allocations: 19.92 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.4499, allocations: 12 kB / 1.237 GB, free: 12.34 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.0001873/0.4501, allocations: 177.7 kB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.4501, allocations: 31.62 kB / 1.237 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.4502, allocations: 56 kB / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4503, allocations: 4 kB / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4503, allocations: 0 / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005422/0.4508, allocations: 408.2 kB / 1.237 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.4524, allocations: 1.065 MB / 1.238 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.4524, allocations: 4 kB / 1.238 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.4528, allocations: 79.91 kB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.4528, allocations: 4 kB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.4528, allocations: 15.98 kB / 1.239 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.4528, allocations: 16.28 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4528, allocations: 8 kB / 1.239 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/0.4537, allocations: 0.6801 MB / 1.239 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.4539, allocations: 152.6 kB / 1.239 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/0.454, allocations: 11.94 kB / 1.239 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.4543, allocations: 23.98 kB / 1.239 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.4543, allocations: 35.91 kB / 1.239 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.4544, allocations: 12 kB / 1.239 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002213/0.4546, allocations: 235 kB / 1.24 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4546, allocations: 0 / 1.24 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004191/0.455, allocations: 108 kB / 1.24 GB, free: 9.02 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.001437/0.4565, allocations: 1.296 MB / 1.241 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005817/0.4571, allocations: 327.5 kB / 1.241 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4571, allocations: 0 / 1.241 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.4574, allocations: 167.7 kB / 1.242 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4584, allocations: 219.6 kB / 1.242 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/0.4629, allocations: 3.704 MB / 1.245 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.4633, allocations: 0.8235 MB / 1.246 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.4636, allocations: 99.14 kB / 1.246 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.4638, allocations: 119.4 kB / 1.246 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.4638, allocations: 0 / 1.246 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.313/2.777, allocations: 11.08 MB / 1.257 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/17.4, allocations: 12.45 kB / 1.257 GB, free: 187.6 MB / 0.9981 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