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.001448/0.001448, allocations: 104.5 kB / 16.41 MB, free: 6.512 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.001522/0.001523, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.393/2.393, allocations: 437 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 64.12 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8123, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1678/0.9802, allocations: 160.1 MB / 1.324 GB, free: 3.113 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004906/0.9851, allocations: 3.809 MB / 1.327 GB, free: 15.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/0.9855, allocations: 11.94 kB / 1.327 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006574/0.9862, allocations: 190.7 kB / 1.328 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.9884, allocations: 0.8673 MB / 1.328 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009543/0.9894, allocations: 431.7 kB / 1.329 GB, free: 13.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.9906, allocations: 1.022 MB / 1.33 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004227/0.991, allocations: 292.9 kB / 1.33 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000659/0.9917, allocations: 422.4 kB / 1.331 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008574/0.9926, allocations: 318.7 kB / 1.331 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.9926, allocations: 28 kB / 1.331 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.9939, allocations: 0.7287 MB / 1.332 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.994, allocations: 151.6 kB / 1.332 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.9943, allocations: 218.9 kB / 1.332 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000916/0.9952, allocations: 0.7496 MB / 1.333 GB, free: 9.902 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9952, allocations: 7.938 kB / 1.333 GB, free: 9.895 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9952, allocations: 0 / 1.333 GB, free: 9.895 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.505e-06/0.9952, allocations: 0 / 1.333 GB, free: 9.895 MB / 1.061 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.9963, allocations: 0.7323 MB / 1.333 GB, free: 9.113 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.9964, allocations: 8.922 kB / 1.333 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.9974, allocations: 143.4 kB / 1.334 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006123/0.998, allocations: 406.4 kB / 1.334 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.9981, allocations: 24.59 kB / 1.334 GB, free: 8.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.9981, allocations: 39.84 kB / 1.334 GB, free: 8.461 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005209/0.9987, allocations: 322 kB / 1.334 GB, free: 8.145 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.9987, allocations: 7.984 kB / 1.334 GB, free: 8.137 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.9987, allocations: 12 kB / 1.334 GB, free: 8.125 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.9987, allocations: 12 kB / 1.334 GB, free: 8.113 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.9992, allocations: 302.4 kB / 1.335 GB, free: 7.812 MB / 1.061 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.001697/1.001, allocations: 1.212 MB / 1.336 GB, free: 6.492 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/1.001, allocations: 278.6 kB / 1.336 GB, free: 6.215 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/1.002, allocations: 191.3 kB / 1.336 GB, free: 6.027 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/1.002, allocations: 198.5 kB / 1.336 GB, free: 5.797 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/1.002, allocations: 30.84 kB / 1.336 GB, free: 5.758 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/1.002, allocations: 0 / 1.336 GB, free: 5.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.001976/1.004, allocations: 1.036 MB / 1.337 GB, free: 4.672 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/1.004, allocations: 51.41 kB / 1.338 GB, free: 4.609 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/1.004, allocations: 316.5 kB / 1.338 GB, free: 4.289 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/1.004, allocations: 29.7 kB / 1.338 GB, free: 4.254 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/1.005, allocations: 176.8 kB / 1.338 GB, free: 4.078 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.9e-05/1.005, allocations: 126.2 kB / 1.338 GB, free: 3.953 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.594e-05/1.005, allocations: 61.7 kB / 1.338 GB, free: 3.887 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.005, allocations: 346.8 kB / 1.339 GB, free: 3.539 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/1.005, allocations: 111.9 kB / 1.339 GB, free: 3.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/1.005, allocations: 170.6 kB / 1.339 GB, free: 3.254 MB / 1.061 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.001663/1.007, allocations: 0.763 MB / 1.34 GB, free: 2.469 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/1.007, allocations: 4 kB / 1.34 GB, free: 2.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000551/1.008, allocations: 356.8 kB / 1.34 GB, free: 2.109 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.008, allocations: 4 kB / 1.34 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.008, allocations: 3.938 kB / 1.34 GB, free: 2.102 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.008, allocations: 7.938 kB / 1.34 GB, free: 2.094 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/1.008, allocations: 67.91 kB / 1.34 GB, free: 2.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/1.008, allocations: 4 kB / 1.34 GB, free: 2.023 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/1.008, allocations: 15.98 kB / 1.34 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/1.008, allocations: 16.03 kB / 1.34 GB, free: 1.992 MB / 1.061 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.0001822/1.009, allocations: 181.7 kB / 1.34 GB, free: 1.805 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-05/1.009, allocations: 35.62 kB / 1.34 GB, free: 1.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/1.009, allocations: 48.06 kB / 1.34 GB, free: 1.723 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.009, allocations: 7.938 kB / 1.34 GB, free: 1.715 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.009, allocations: 3.938 kB / 1.34 GB, free: 1.711 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005338/1.009, allocations: 400.2 kB / 1.341 GB, free: 1.289 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/1.011, allocations: 1.084 MB / 1.342 GB, free: 104 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.011, allocations: 0 / 1.342 GB, free: 104 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/1.011, allocations: 80.36 kB / 1.342 GB, free: 24 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/1.011, allocations: 12 kB / 1.342 GB, free: 12 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/1.011, allocations: 8 kB / 1.342 GB, free: 4 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-05/1.011, allocations: 8.203 kB / 1.342 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.011, allocations: 11.88 kB / 1.342 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000899/1.012, allocations: 0.6802 MB / 1.342 GB, free: 15.24 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/1.012, allocations: 140.7 kB / 1.343 GB, free: 15.08 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/1.013, allocations: 16 kB / 1.343 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/1.013, allocations: 19.92 kB / 1.343 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/1.013, allocations: 31.97 kB / 1.343 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/1.013, allocations: 16 kB / 1.343 GB, free: 15 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002143/1.013, allocations: 235 kB / 1.343 GB, free: 14.77 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.81e-07/1.013, allocations: 0 / 1.343 GB, free: 14.77 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004429/1.014, allocations: 112 kB / 1.343 GB, free: 14.66 MB / 1.076 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.0003947/1.014, allocations: 164.1 kB / 1.343 GB, free: 14.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005534/1.015, allocations: 313.5 kB / 1.343 GB, free: 14.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.015, allocations: 0 / 1.343 GB, free: 14.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/1.015, allocations: 164.7 kB / 1.344 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/1.016, allocations: 227.7 kB / 1.344 GB, free: 13.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/1.017, allocations: 1.017 MB / 1.345 GB, free: 12.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/1.018, allocations: 0.8196 MB / 1.346 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.832e-05/1.018, allocations: 31.44 kB / 1.346 GB, free: 11.85 MB / 1.076 GB Notification: Performance of SimCode: time 2.3e-07/1.018, allocations: 0 / 1.346 GB, free: 11.85 MB / 1.076 GB Notification: Performance of Templates: time 0.009167/1.027, allocations: 5.919 MB / 1.351 GB, free: 5.98 MB / 1.076 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches