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.001358/0.001358, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001461/0.001461, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.521/2.521, allocations: 436.5 MB / 0.7104 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 20 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6317/0.632, allocations: 153.6 MB / 1.021 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1543/0.7864, allocations: 134.6 MB / 1.152 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004674/0.7911, allocations: 3.277 MB / 1.155 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000423/0.7915, allocations: 11.94 kB / 1.155 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006769/0.7922, allocations: 195.1 kB / 1.156 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.7939, allocations: 0.5841 MB / 1.156 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.795, allocations: 431.5 kB / 1.157 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001471/0.7965, allocations: 0.5983 MB / 1.157 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006211/0.7971, allocations: 228.7 kB / 1.157 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008057/0.798, allocations: 330.8 kB / 1.158 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004855/0.7985, allocations: 211.2 kB / 1.158 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.679e-05/0.7985, allocations: 12 kB / 1.158 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.7996, allocations: 407.4 kB / 1.158 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.7998, allocations: 131.6 kB / 1.158 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.8, allocations: 101.5 kB / 1.159 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007845/0.8008, allocations: 494.8 kB / 1.159 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.8008, allocations: 4 kB / 1.159 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8008, allocations: 0 / 1.159 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.8009, allocations: 0 / 1.159 GB, free: 3.293 MB / 0.9044 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.001214/0.8021, allocations: 0.6546 MB / 1.16 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.8021, allocations: 11.98 kB / 1.16 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.8032, allocations: 159.2 kB / 1.16 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006422/0.8039, allocations: 366.7 kB / 1.16 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.8039, allocations: 20.66 kB / 1.16 GB, free: 2 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.804, allocations: 32 kB / 1.16 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.8046, allocations: 330 kB / 1.161 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.8046, allocations: 0 / 1.161 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.8047, allocations: 16 kB / 1.161 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.8047, allocations: 8 kB / 1.161 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.8052, allocations: 318.3 kB / 1.161 GB, free: 1.309 MB / 0.9044 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.001916/0.8072, allocations: 1.205 MB / 1.162 GB, free: 15.99 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.8077, allocations: 292 kB / 1.162 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-05/0.8077, allocations: 12.27 kB / 1.162 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.8078, allocations: 34.84 kB / 1.162 GB, free: 15.64 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.8078, allocations: 0 / 1.162 GB, free: 15.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=35): time 0.00234/0.8101, allocations: 1.05 MB / 1.163 GB, free: 14.54 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.8102, allocations: 55.41 kB / 1.163 GB, free: 14.47 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.8105, allocations: 316.5 kB / 1.164 GB, free: 14.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.8106, allocations: 33.7 kB / 1.164 GB, free: 14.12 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.8107, allocations: 176.8 kB / 1.164 GB, free: 13.94 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.8109, allocations: 126.1 kB / 1.164 GB, free: 13.82 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.8109, allocations: 11.94 kB / 1.164 GB, free: 13.81 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.811, allocations: 342.8 kB / 1.164 GB, free: 13.46 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.8113, allocations: 115.9 kB / 1.165 GB, free: 13.35 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.8116, allocations: 166.2 kB / 1.165 GB, free: 13.18 MB / 0.92 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.001372/0.813, allocations: 0.517 MB / 1.165 GB, free: 12.64 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.813, allocations: 0 / 1.165 GB, free: 12.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006314/0.8136, allocations: 361.6 kB / 1.166 GB, free: 12.29 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.8137, allocations: 8 kB / 1.166 GB, free: 12.28 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.8137, allocations: 0 / 1.166 GB, free: 12.28 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.8137, allocations: 4.031 kB / 1.166 GB, free: 12.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.814, allocations: 75.84 kB / 1.166 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.8141, allocations: 3.953 kB / 1.166 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.8145, allocations: 19.98 kB / 1.166 GB, free: 12.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.8145, allocations: 15.98 kB / 1.166 GB, free: 12.16 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002273/0.8148, allocations: 175.1 kB / 1.166 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.8148, allocations: 39.53 kB / 1.166 GB, free: 11.94 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.815, allocations: 52.06 kB / 1.166 GB, free: 11.89 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.815, allocations: 0 / 1.166 GB, free: 11.89 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.815, allocations: 4 kB / 1.166 GB, free: 11.89 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005954/0.8156, allocations: 416.2 kB / 1.166 GB, free: 11.45 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.8174, allocations: 1.078 MB / 1.167 GB, free: 10.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.8174, allocations: 4 kB / 1.167 GB, free: 10.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.8178, allocations: 83.89 kB / 1.167 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/0.8178, allocations: 8 kB / 1.167 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.8178, allocations: 8 kB / 1.167 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.8178, allocations: 8 kB / 1.167 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.8179, allocations: 7.938 kB / 1.167 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.819, allocations: 0.8694 MB / 1.168 GB, free: 9.129 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.8192, allocations: 140.7 kB / 1.168 GB, free: 8.973 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.27e-05/0.8193, allocations: 15.95 kB / 1.168 GB, free: 8.957 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.8197, allocations: 39.88 kB / 1.169 GB, free: 8.918 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.8197, allocations: 27.91 kB / 1.169 GB, free: 8.891 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.8198, allocations: 23.94 kB / 1.169 GB, free: 8.867 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002384/0.82, allocations: 231 kB / 1.169 GB, free: 8.645 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.4e-07/0.82, allocations: 0 / 1.169 GB, free: 8.645 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004965/0.8205, allocations: 108 kB / 1.169 GB, free: 8.539 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003854/0.8209, allocations: 174.8 kB / 1.169 GB, free: 8.367 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006194/0.8216, allocations: 307.7 kB / 1.169 GB, free: 8.066 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8216, allocations: 0 / 1.169 GB, free: 8.066 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.8219, allocations: 175.7 kB / 1.17 GB, free: 7.895 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.823, allocations: 204.3 kB / 1.17 GB, free: 7.699 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.8247, allocations: 1.145 MB / 1.171 GB, free: 6.484 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.8251, allocations: 0.8313 MB / 1.172 GB, free: 5.625 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003832/0.8255, allocations: 99.19 kB / 1.172 GB, free: 5.523 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.8256, allocations: 39.44 kB / 1.172 GB, free: 5.488 MB / 0.92 GB Notification: Performance of SimCode: time 3.91e-07/0.8257, allocations: 0 / 1.172 GB, free: 5.488 MB / 0.92 GB Notification: Performance of Templates: time 0.01289/0.8385, allocations: 6.75 MB / 1.178 GB, free: 14.84 MB / 0.9356 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","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches