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: 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.0009202/0.0009205, allocations: 91.92 kB / 16.02 MB, free: 80 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.001087/0.001087, allocations: 179.5 kB / 16.92 MB, free: 6.652 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.776/2.776, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 8.25 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3066, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1642/0.4709, allocations: 155.8 MB / 1.211 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005443/0.4764, allocations: 3.772 MB / 1.215 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006253/0.4771, allocations: 11.88 kB / 1.215 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007159/0.4778, allocations: 151.1 kB / 1.215 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.4802, allocations: 0.7976 MB / 1.216 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.4814, allocations: 389.1 kB / 1.216 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.4832, allocations: 1.397 MB / 1.218 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.4837, allocations: 244.9 kB / 1.218 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000835/0.4846, allocations: 354.4 kB / 1.218 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.4857, allocations: 330.9 kB / 1.219 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.4858, allocations: 12 kB / 1.219 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.4874, allocations: 0.8455 MB / 1.22 GB, free: 316 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.4877, allocations: 151.6 kB / 1.22 GB, free: 164 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.488, allocations: 220.6 kB / 1.22 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.4889, allocations: 0.53 MB / 1.22 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4889, allocations: 0 / 1.22 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4889, allocations: 0 / 1.22 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.132e-05/0.489, allocations: 0 / 1.22 GB, free: 15.41 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.0012/0.4902, allocations: 0.6584 MB / 1.221 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4902, allocations: 19.84 kB / 1.221 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.4914, allocations: 151.4 kB / 1.221 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.492, allocations: 382.4 kB / 1.222 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.492, allocations: 20.66 kB / 1.222 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/0.4921, allocations: 32 kB / 1.222 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.4927, allocations: 333.9 kB / 1.222 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.4928, allocations: 4 kB / 1.222 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.4928, allocations: 20 kB / 1.222 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4928, allocations: 11.98 kB / 1.222 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.4934, allocations: 310.4 kB / 1.222 GB, free: 13.39 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.001855/0.4953, allocations: 1.212 MB / 1.223 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/0.4958, allocations: 291.4 kB / 1.224 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.4961, allocations: 186.5 kB / 1.224 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.4964, allocations: 190.5 kB / 1.224 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.4964, allocations: 38.84 kB / 1.224 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/0.4964, allocations: 0 / 1.224 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.002211/0.4986, allocations: 1.058 MB / 1.225 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.4987, allocations: 55.41 kB / 1.225 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.499, allocations: 312.5 kB / 1.226 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.4991, allocations: 37.7 kB / 1.226 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.4992, allocations: 172.8 kB / 1.226 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.4993, allocations: 126.2 kB / 1.226 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.4994, allocations: 29.7 kB / 1.226 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4995, allocations: 346.8 kB / 1.226 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.4997, allocations: 115.9 kB / 1.226 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.5, allocations: 175.8 kB / 1.227 GB, free: 8.812 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.001821/0.5018, allocations: 0.7811 MB / 1.227 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5018, allocations: 4 kB / 1.227 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006086/0.5025, allocations: 364.8 kB / 1.228 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5025, allocations: 8 kB / 1.228 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5025, allocations: 0 / 1.228 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.5025, allocations: 3.938 kB / 1.228 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.5029, allocations: 71.94 kB / 1.228 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.5029, allocations: 3.938 kB / 1.228 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.5034, allocations: 28.67 kB / 1.228 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.5034, allocations: 12 kB / 1.228 GB, free: 7.516 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.0002672/0.5037, allocations: 174.8 kB / 1.228 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.5038, allocations: 43.53 kB / 1.228 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.504, allocations: 56 kB / 1.228 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.504, allocations: 7.938 kB / 1.228 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.504, allocations: 0 / 1.228 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006517/0.5046, allocations: 412.4 kB / 1.228 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.5066, allocations: 1.078 MB / 1.229 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.5066, allocations: 4.469 kB / 1.229 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.507, allocations: 79.91 kB / 1.23 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.507, allocations: 11.98 kB / 1.23 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.507, allocations: 12 kB / 1.23 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.507, allocations: 11.94 kB / 1.23 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.507, allocations: 7.938 kB / 1.23 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009763/0.508, allocations: 0.6913 MB / 1.23 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.5082, allocations: 144.7 kB / 1.23 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.009e-05/0.5083, allocations: 11.94 kB / 1.23 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.5087, allocations: 27.89 kB / 1.23 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.5087, allocations: 31.97 kB / 1.23 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.5088, allocations: 23.94 kB / 1.23 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002279/0.509, allocations: 231 kB / 1.231 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.509, allocations: 0 / 1.231 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004918/0.5095, allocations: 112 kB / 1.231 GB, free: 4.148 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.000435/0.51, allocations: 167.8 kB / 1.231 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006075/0.5106, allocations: 304.2 kB / 1.231 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.5106, allocations: 0 / 1.231 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.5109, allocations: 172.7 kB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.5122, allocations: 214 kB / 1.232 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.5139, allocations: 1.198 MB / 1.233 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.5143, allocations: 0.8234 MB / 1.234 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.5145, allocations: 43.42 kB / 1.234 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/0.5145, allocations: 4 kB / 1.234 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of Templates: time 0.01004/0.5245, allocations: 5.845 MB / 1.239 GB, free: 11.35 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/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