Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001732/0.001732, 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.002012/0.002012, allocations: 198.2 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.594/1.594, 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 10.1.1-maint.10.0.x/package.mo): time 2.934/2.934, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.89 kB / 0.8692 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6074/0.6094, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1945/0.8039, allocations: 160.1 MB / 1.174 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00558/0.8095, allocations: 3.81 MB / 1.177 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002995/0.8099, allocations: 11.94 kB / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000631/0.8105, allocations: 186.7 kB / 1.178 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.8126, allocations: 0.8322 MB / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009837/0.8136, allocations: 427.6 kB / 1.179 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.8149, allocations: 1.018 MB / 1.18 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004673/0.8154, allocations: 300.8 kB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006296/0.816, allocations: 402.4 kB / 1.18 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008692/0.8169, allocations: 321.7 kB / 1.181 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.755e-05/0.817, allocations: 32 kB / 1.181 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.8183, allocations: 0.7053 MB / 1.181 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.8185, allocations: 159.6 kB / 1.182 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.8188, allocations: 210.9 kB / 1.182 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.8199, allocations: 0.7518 MB / 1.183 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.8199, allocations: 0 / 1.183 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8199, allocations: 0 / 1.183 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.8199, allocations: 0 / 1.183 GB, free: 8.633 MB / 0.9356 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.001185/0.8211, allocations: 0.7362 MB / 1.183 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.8211, allocations: 8.031 kB / 1.183 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.8222, allocations: 151.3 kB / 1.183 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005655/0.8228, allocations: 382.5 kB / 1.184 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.8228, allocations: 20.66 kB / 1.184 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.8229, allocations: 32 kB / 1.184 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005947/0.8235, allocations: 326 kB / 1.184 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.8235, allocations: 0 / 1.184 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.8235, allocations: 12 kB / 1.184 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.8235, allocations: 8 kB / 1.184 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/0.8241, allocations: 306.4 kB / 1.184 GB, free: 6.582 MB / 0.9356 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.001771/0.8259, allocations: 1.213 MB / 1.186 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.8264, allocations: 287.4 kB / 1.186 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.8267, allocations: 189.3 kB / 1.186 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003111/0.827, allocations: 190.5 kB / 1.186 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.8271, allocations: 38.84 kB / 1.186 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.8271, allocations: 0 / 1.186 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.002204/0.8293, allocations: 1.027 MB / 1.187 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.8294, allocations: 55.41 kB / 1.187 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.8297, allocations: 316.5 kB / 1.188 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.8298, allocations: 37.7 kB / 1.188 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.8299, allocations: 184.6 kB / 1.188 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.8301, allocations: 126.2 kB / 1.188 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.8302, allocations: 57.7 kB / 1.188 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.8303, allocations: 342.8 kB / 1.188 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.8306, allocations: 127.6 kB / 1.189 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.8309, allocations: 162.4 kB / 1.189 GB, free: 1.992 MB / 0.9356 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.00184/0.8327, allocations: 0.7617 MB / 1.189 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.8327, allocations: 0 / 1.189 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006191/0.8334, allocations: 356.7 kB / 1.19 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.8334, allocations: 12 kB / 1.19 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.8334, allocations: 0 / 1.19 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.8334, allocations: 3.938 kB / 1.19 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.8337, allocations: 67.91 kB / 1.19 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.8338, allocations: 4 kB / 1.19 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.8341, allocations: 11.98 kB / 1.19 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.8342, allocations: 16 kB / 1.19 GB, free: 0.7383 MB / 0.9356 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.0001996/0.8344, allocations: 169.8 kB / 1.19 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.8344, allocations: 43.52 kB / 1.19 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.8346, allocations: 52.06 kB / 1.19 GB, free: 480 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.8346, allocations: 7.938 kB / 1.19 GB, free: 472 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.8346, allocations: 4 kB / 1.19 GB, free: 468 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006051/0.8352, allocations: 404.2 kB / 1.191 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.8369, allocations: 1.066 MB / 1.192 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.8369, allocations: 4 kB / 1.192 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.8373, allocations: 83.89 kB / 1.192 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.8373, allocations: 4 kB / 1.192 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.8374, allocations: 16.5 kB / 1.192 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.8374, allocations: 11.94 kB / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.8374, allocations: 11.92 kB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009909/0.8384, allocations: 0.6917 MB / 1.192 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.8386, allocations: 144.6 kB / 1.193 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.8386, allocations: 15.92 kB / 1.193 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.839, allocations: 16 kB / 1.193 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.8391, allocations: 39.95 kB / 1.193 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.8391, allocations: 15.94 kB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002451/0.8394, allocations: 235 kB / 1.193 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8394, allocations: 4 kB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004452/0.8398, allocations: 104 kB / 1.193 GB, free: 13.4 MB / 0.9512 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.0004087/0.8402, allocations: 164.1 kB / 1.193 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006487/0.8409, allocations: 323.7 kB / 1.193 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8409, allocations: 0 / 1.193 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.8412, allocations: 167.7 kB / 1.194 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.8424, allocations: 224.8 kB / 1.194 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.844, allocations: 0.971 MB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.8445, allocations: 0.8235 MB / 1.196 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003424/0.8449, allocations: 111.2 kB / 1.196 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.845, allocations: 39.44 kB / 1.196 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.845, allocations: 0 / 1.196 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.01397/0.8589, allocations: 7.383 MB / 1.203 GB, free: 3.25 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches