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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001554, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001922/0.001922, allocations: 192.6 kB / 16.14 MB, free: 6.719 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.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 66.39 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3023, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1681/0.4704, allocations: 157.9 MB / 1.206 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005555/0.476, allocations: 3.825 MB / 1.21 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004907/0.4766, allocations: 11.94 kB / 1.21 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000764/0.4774, allocations: 147 kB / 1.21 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.4801, allocations: 0.8015 MB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.4813, allocations: 378.5 kB / 1.211 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.483, allocations: 1.397 MB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.4834, allocations: 260.9 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005603/0.484, allocations: 354.4 kB / 1.213 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009281/0.4849, allocations: 337.9 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/0.485, allocations: 16 kB / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.4863, allocations: 0.8533 MB / 1.214 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.4865, allocations: 151.6 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.4867, allocations: 199 kB / 1.215 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009926/0.4877, allocations: 0.7867 MB / 1.216 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4878, allocations: 0 / 1.216 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of FrontEnd: time 6.81e-07/0.4878, allocations: 0 / 1.216 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4878, allocations: 0 / 1.216 GB, free: 0.9023 MB / 0.9669 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.001153/0.4889, allocations: 0.7285 MB / 1.216 GB, free: 124 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.489, allocations: 12.03 kB / 1.216 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.4901, allocations: 147.5 kB / 1.216 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.4906, allocations: 382.5 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.4906, allocations: 20.66 kB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.4907, allocations: 32 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.4913, allocations: 329.9 kB / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.4913, allocations: 3.984 kB / 1.217 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.4913, allocations: 16 kB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4914, allocations: 8 kB / 1.217 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.4919, allocations: 302.4 kB / 1.217 GB, free: 14.84 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.002042/0.4939, allocations: 1.205 MB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/0.4944, allocations: 287.4 kB / 1.219 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.4947, allocations: 186.7 kB / 1.219 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.495, allocations: 198.4 kB / 1.219 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.495, allocations: 34.84 kB / 1.219 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.495, allocations: 0 / 1.219 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.002067/0.4971, allocations: 1.038 MB / 1.22 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.4972, allocations: 59.41 kB / 1.22 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.4975, allocations: 312.5 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.4976, allocations: 37.7 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.4977, allocations: 176.8 kB / 1.221 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.4978, allocations: 134.1 kB / 1.221 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.4979, allocations: 57.7 kB / 1.221 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4981, allocations: 350.8 kB / 1.221 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.4983, allocations: 119.7 kB / 1.221 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.4986, allocations: 164 kB / 1.222 GB, free: 10.25 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.001746/0.5003, allocations: 0.7619 MB / 1.222 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5004, allocations: 0 / 1.222 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005786/0.5009, allocations: 352.8 kB / 1.223 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.501, allocations: 4 kB / 1.223 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.501, allocations: 0 / 1.223 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.501, allocations: 7.938 kB / 1.223 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/0.5013, allocations: 67.91 kB / 1.223 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5013, allocations: 0 / 1.223 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.5017, allocations: 29.98 kB / 1.223 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.5017, allocations: 15.98 kB / 1.223 GB, free: 8.996 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 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.0001816/0.5019, allocations: 169.8 kB / 1.223 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.502, allocations: 31.62 kB / 1.223 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.525e-05/0.5021, allocations: 56.06 kB / 1.223 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.5021, allocations: 7.938 kB / 1.223 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5021, allocations: 4.047 kB / 1.223 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005955/0.5027, allocations: 408.5 kB / 1.223 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.5043, allocations: 1.069 MB / 1.225 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5043, allocations: 7.938 kB / 1.225 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.5047, allocations: 79.89 kB / 1.225 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.467e-06/0.5047, allocations: 8 kB / 1.225 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.5048, allocations: 8 kB / 1.225 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.5048, allocations: 11.94 kB / 1.225 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.5048, allocations: 7.938 kB / 1.225 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009415/0.5057, allocations: 0.6808 MB / 1.225 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.5059, allocations: 144.6 kB / 1.225 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.506, allocations: 24 kB / 1.225 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.5063, allocations: 19.92 kB / 1.225 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.5064, allocations: 31.91 kB / 1.226 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.5065, allocations: 27.92 kB / 1.226 GB, free: 6 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002262/0.5067, allocations: 235 kB / 1.226 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5067, allocations: 0 / 1.226 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004686/0.5072, allocations: 108 kB / 1.226 GB, free: 5.664 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.0004344/0.5076, allocations: 162.4 kB / 1.226 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000577/0.5082, allocations: 287.7 kB / 1.226 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5082, allocations: 4.062 kB / 1.226 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.5085, allocations: 175.7 kB / 1.226 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.5097, allocations: 210.3 kB / 1.227 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.5112, allocations: 1.094 MB / 1.228 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.5116, allocations: 0.8312 MB / 1.229 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000355/0.512, allocations: 111.2 kB / 1.229 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.5121, allocations: 31.44 kB / 1.229 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.5121, allocations: 0 / 1.229 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of Templates: time 0.01271/0.5248, allocations: 7.027 MB / 1.236 GB, free: 11.76 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (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 & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches