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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005076/0.005076, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001204/0.001204, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.6 MB / 0.7453 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.313, allocations: 159.9 MB / 1.226 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 1.037/1.351, allocations: 160.1 MB / 1.382 GB, free: 2.539 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005594/1.356, allocations: 3.811 MB / 1.386 GB, free: 15.68 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004228/1.357, allocations: 15.91 kB / 1.386 GB, free: 15.67 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006983/1.357, allocations: 180.5 kB / 1.386 GB, free: 15.52 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002274/1.36, allocations: 0.8444 MB / 1.387 GB, free: 14.87 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/1.361, allocations: 430.5 kB / 1.387 GB, free: 14.56 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001429/1.362, allocations: 1.019 MB / 1.388 GB, free: 13.98 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/1.363, allocations: 290.8 kB / 1.388 GB, free: 13.8 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007699/1.364, allocations: 405.8 kB / 1.389 GB, free: 13.56 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009463/1.364, allocations: 327.2 kB / 1.389 GB, free: 13.37 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.423e-05/1.365, allocations: 30.34 kB / 1.389 GB, free: 13.37 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/1.366, allocations: 0.7112 MB / 1.39 GB, free: 12.98 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000231/1.366, allocations: 158.5 kB / 1.39 GB, free: 12.88 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002526/1.367, allocations: 220.7 kB / 1.39 GB, free: 12.74 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001229/1.368, allocations: 0.7454 MB / 1.391 GB, free: 12.28 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.368, allocations: 1.125 kB / 1.391 GB, free: 12.28 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.014e-06/1.368, allocations: 0 / 1.391 GB, free: 12.28 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.075e-05/1.368, allocations: 0 / 1.391 GB, free: 12.28 MB / 1.092 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.001182/1.369, allocations: 0.7509 MB / 1.392 GB, free: 11.63 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.369, allocations: 14.19 kB / 1.392 GB, free: 11.63 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/1.37, allocations: 154.8 kB / 1.392 GB, free: 11.55 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/1.371, allocations: 398.4 kB / 1.392 GB, free: 11.21 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/1.371, allocations: 25.09 kB / 1.392 GB, free: 11.2 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/1.371, allocations: 29.03 kB / 1.392 GB, free: 11.19 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/1.372, allocations: 325.9 kB / 1.393 GB, free: 11 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/1.372, allocations: 4 kB / 1.393 GB, free: 11 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/1.372, allocations: 11.44 kB / 1.393 GB, free: 10.99 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/1.372, allocations: 11.09 kB / 1.393 GB, free: 10.99 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005887/1.372, allocations: 312 kB / 1.393 GB, free: 10.84 MB / 1.092 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.001767/1.374, allocations: 1.204 MB / 1.394 GB, free: 9.816 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/1.374, allocations: 287.8 kB / 1.394 GB, free: 9.664 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/1.375, allocations: 183.4 kB / 1.394 GB, free: 9.578 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/1.375, allocations: 191.9 kB / 1.395 GB, free: 9.379 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/1.375, allocations: 36.81 kB / 1.395 GB, free: 9.336 MB / 1.092 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/1.375, allocations: 0 / 1.395 GB, free: 9.336 MB / 1.092 GB Notification: Performance of matching and sorting (n=35): time 0.002223/1.377, allocations: 1.035 MB / 1.396 GB, free: 8.676 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/1.377, allocations: 63.59 kB / 1.396 GB, free: 8.605 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/1.378, allocations: 312.6 kB / 1.396 GB, free: 8.41 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/1.378, allocations: 40.2 kB / 1.396 GB, free: 8.367 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/1.378, allocations: 173.8 kB / 1.396 GB, free: 8.207 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/1.378, allocations: 133.5 kB / 1.396 GB, free: 8.09 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/1.378, allocations: 59.73 kB / 1.396 GB, free: 8.051 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.378, allocations: 347.4 kB / 1.397 GB, free: 7.711 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/1.379, allocations: 116.7 kB / 1.397 GB, free: 7.656 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/1.379, allocations: 168.6 kB / 1.397 GB, free: 7.559 MB / 1.092 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.001931/1.381, allocations: 0.7643 MB / 1.398 GB, free: 7.129 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.381, allocations: 1.812 kB / 1.398 GB, free: 7.129 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006722/1.382, allocations: 349.3 kB / 1.398 GB, free: 6.953 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.382, allocations: 4.719 kB / 1.398 GB, free: 6.953 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.382, allocations: 1.812 kB / 1.398 GB, free: 6.953 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/1.382, allocations: 1.188 kB / 1.398 GB, free: 6.953 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/1.382, allocations: 67.84 kB / 1.398 GB, free: 6.938 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/1.382, allocations: 2.25 kB / 1.398 GB, free: 6.938 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/1.382, allocations: 24.2 kB / 1.398 GB, free: 6.922 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/1.382, allocations: 9.031 kB / 1.398 GB, free: 6.922 MB / 1.092 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.0002178/1.383, allocations: 177.1 kB / 1.398 GB, free: 6.766 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/1.383, allocations: 46.11 kB / 1.398 GB, free: 6.738 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/1.383, allocations: 51.38 kB / 1.399 GB, free: 6.699 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.383, allocations: 6.406 kB / 1.399 GB, free: 6.695 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.383, allocations: 1.375 kB / 1.399 GB, free: 6.695 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006256/1.384, allocations: 412.7 kB / 1.399 GB, free: 6.41 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/1.385, allocations: 1.059 MB / 1.4 GB, free: 5.586 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.385, allocations: 5.125 kB / 1.4 GB, free: 5.586 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/1.386, allocations: 87.23 kB / 1.4 GB, free: 5.562 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/1.386, allocations: 9.781 kB / 1.4 GB, free: 5.559 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/1.386, allocations: 9.75 kB / 1.4 GB, free: 5.555 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/1.386, allocations: 13.05 kB / 1.4 GB, free: 5.547 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/1.386, allocations: 9 kB / 1.4 GB, free: 5.543 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/1.387, allocations: 0.6855 MB / 1.401 GB, free: 5.047 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/1.387, allocations: 141 kB / 1.401 GB, free: 4.914 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/1.387, allocations: 19.55 kB / 1.401 GB, free: 4.902 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/1.387, allocations: 20.56 kB / 1.401 GB, free: 4.891 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/1.388, allocations: 30.02 kB / 1.401 GB, free: 4.875 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/1.388, allocations: 17 kB / 1.401 GB, free: 4.871 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002542/1.388, allocations: 233.4 kB / 1.401 GB, free: 4.719 MB / 1.092 GB Notification: Performance of sort global known variables: time 2e-07/1.388, allocations: 0 / 1.401 GB, free: 4.719 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000502/1.388, allocations: 108.1 kB / 1.401 GB, free: 4.707 MB / 1.092 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.0004492/1.389, allocations: 185.6 kB / 1.401 GB, free: 4.566 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006226/1.389, allocations: 311.8 kB / 1.402 GB, free: 4.43 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.389, allocations: 0 / 1.402 GB, free: 4.43 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003076/1.39, allocations: 174.5 kB / 1.402 GB, free: 4.352 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/1.391, allocations: 228.2 kB / 1.402 GB, free: 4.246 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/1.393, allocations: 0.9568 MB / 1.403 GB, free: 3.555 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/1.393, allocations: 0.828 MB / 1.404 GB, free: 2.793 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003137/1.393, allocations: 102 kB / 1.404 GB, free: 2.754 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/1.393, allocations: 38.11 kB / 1.404 GB, free: 2.742 MB / 1.092 GB Notification: Performance of SimCode: time 2.71e-07/1.393, allocations: 3.938 kB / 1.404 GB, free: 2.738 MB / 1.092 GB Notification: Performance of Templates: time 0.01249/1.406, allocations: 7.449 MB / 1.411 GB, free: 15.05 MB / 1.107 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