Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_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.000822/0.0008221, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005202/0.005202, allocations: 173.3 kB / 16.26 MB, free: 6.676 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.785/2.785, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 10.84 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3359, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1723/0.5082, allocations: 155.8 MB / 1.211 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00654/0.5148, allocations: 3.78 MB / 1.215 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000626/0.5154, allocations: 11.88 kB / 1.215 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006771/0.5161, allocations: 151.1 kB / 1.215 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002617/0.5188, allocations: 0.7921 MB / 1.216 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.52, allocations: 390 kB / 1.216 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001843/0.5218, allocations: 1.389 MB / 1.217 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004644/0.5223, allocations: 248.9 kB / 1.218 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006387/0.523, allocations: 350.5 kB / 1.218 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008347/0.5238, allocations: 338.9 kB / 1.218 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.5239, allocations: 12 kB / 1.218 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.5254, allocations: 0.8494 MB / 1.219 GB, free: 196 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.5256, allocations: 147.6 kB / 1.219 GB, free: 48 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.5259, allocations: 220.8 kB / 1.219 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009373/0.5268, allocations: 0.7826 MB / 1.22 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5268, allocations: 0 / 1.22 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5268, allocations: 0 / 1.22 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.5268, allocations: 0 / 1.22 GB, free: 15.04 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.001068/0.5279, allocations: 0.6623 MB / 1.221 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.528, allocations: 11.97 kB / 1.221 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.159e-05/0.5281, allocations: 66.53 kB / 1.221 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.5291, allocations: 143.4 kB / 1.221 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/0.5297, allocations: 386.4 kB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.5297, allocations: 28.66 kB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/0.5298, allocations: 28 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.5304, allocations: 330 kB / 1.222 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5304, allocations: 3.984 kB / 1.222 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.5304, allocations: 12 kB / 1.222 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.5304, allocations: 8 kB / 1.222 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005725/0.531, allocations: 326.3 kB / 1.222 GB, free: 12.95 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.001713/0.5327, allocations: 1.205 MB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.5332, allocations: 287.4 kB / 1.224 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.5335, allocations: 189.3 kB / 1.224 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/0.5338, allocations: 186.5 kB / 1.224 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.5338, allocations: 38.83 kB / 1.224 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 3.747e-06/0.5339, allocations: 4 kB / 1.224 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.002159/0.536, allocations: 1.058 MB / 1.225 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.5361, allocations: 59.34 kB / 1.225 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.5364, allocations: 316.5 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.5365, allocations: 37.7 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.5366, allocations: 172.8 kB / 1.226 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.5367, allocations: 122.1 kB / 1.226 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.5368, allocations: 33.7 kB / 1.226 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5369, allocations: 346.8 kB / 1.226 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.5372, allocations: 119.9 kB / 1.226 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.5375, allocations: 170.2 kB / 1.226 GB, free: 8.375 MB / 0.9825 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.001816/0.5393, allocations: 0.7826 MB / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5393, allocations: 0 / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005811/0.5399, allocations: 368.8 kB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5399, allocations: 4 kB / 1.227 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5399, allocations: 4 kB / 1.227 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5399, allocations: 3.938 kB / 1.227 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.5402, allocations: 67.91 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.5403, allocations: 4 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.5406, allocations: 31 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.5407, allocations: 8 kB / 1.228 GB, free: 7.086 MB / 0.9825 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0001904/0.5409, allocations: 175.7 kB / 1.228 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.5409, allocations: 39.53 kB / 1.228 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.5411, allocations: 56 kB / 1.228 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5411, allocations: 4 kB / 1.228 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.5411, allocations: 0 / 1.228 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005565/0.5416, allocations: 424.3 kB / 1.228 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.5433, allocations: 1.07 MB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5433, allocations: 4 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.5436, allocations: 88.36 kB / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.5437, allocations: 4 kB / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.5437, allocations: 12 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.5437, allocations: 11.88 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.5437, allocations: 8 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009362/0.5447, allocations: 0.6913 MB / 1.23 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.5448, allocations: 148.8 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.5449, allocations: 15.88 kB / 1.23 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.5452, allocations: 31.83 kB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.5453, allocations: 31.84 kB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.5454, allocations: 23.98 kB / 1.23 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002205/0.5456, allocations: 231 kB / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5456, allocations: 0 / 1.23 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004555/0.546, allocations: 108 kB / 1.231 GB, free: 3.715 MB / 0.9825 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.001514/0.5476, allocations: 1.312 MB / 1.232 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005652/0.5481, allocations: 299.6 kB / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5482, allocations: 0 / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.5484, allocations: 179.7 kB / 1.232 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.5497, allocations: 211 kB / 1.233 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/0.5544, allocations: 3.894 MB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.5548, allocations: 0.8235 MB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003567/0.5551, allocations: 115.2 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.5553, allocations: 119.4 kB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of SimCode: time 1.764e-06/0.5553, allocations: 0 / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.5805, allocations: 10.47 MB / 1.248 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.5807, allocations: 269.8 kB / 1.248 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.683, allocations: 0 / 1.248 GB, free: 1.98 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches