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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 110.5 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 489.3 MB / 0.7687 GB, free: 3.719 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 59.91 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9938/0.9958, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2153/1.211, allocations: 160.2 MB / 1.419 GB, free: 1.023 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.00582/1.217, allocations: 3.809 MB / 1.423 GB, free: 13.94 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/1.218, allocations: 13 kB / 1.423 GB, free: 13.93 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006966/1.218, allocations: 180.5 kB / 1.423 GB, free: 13.78 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002397/1.221, allocations: 0.8433 MB / 1.424 GB, free: 13.14 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/1.222, allocations: 420.3 kB / 1.424 GB, free: 12.84 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001546/1.223, allocations: 1.028 MB / 1.425 GB, free: 12.24 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004979/1.224, allocations: 286.6 kB / 1.425 GB, free: 12.06 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/1.225, allocations: 0.5723 MB / 1.426 GB, free: 11.71 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/1.226, allocations: 310.9 kB / 1.426 GB, free: 11.54 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.774e-05/1.226, allocations: 30.94 kB / 1.426 GB, free: 11.54 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/1.228, allocations: 0.7096 MB / 1.427 GB, free: 11.15 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000216/1.228, allocations: 163.3 kB / 1.427 GB, free: 11.04 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002718/1.229, allocations: 208.6 kB / 1.427 GB, free: 10.91 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/1.23, allocations: 0.7641 MB / 1.428 GB, free: 10.43 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.23, allocations: 0 / 1.428 GB, free: 10.43 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.074e-06/1.23, allocations: 1.219 kB / 1.428 GB, free: 10.43 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.655e-06/1.23, allocations: 0 / 1.428 GB, free: 10.43 MB / 1.123 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.001207/1.231, allocations: 0.746 MB / 1.429 GB, free: 9.793 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/1.231, allocations: 9.594 kB / 1.429 GB, free: 9.793 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/1.232, allocations: 148.1 kB / 1.429 GB, free: 9.727 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006628/1.233, allocations: 406.1 kB / 1.429 GB, free: 9.379 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/1.233, allocations: 21.25 kB / 1.429 GB, free: 9.371 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/1.233, allocations: 28.19 kB / 1.429 GB, free: 9.363 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/1.234, allocations: 338.3 kB / 1.43 GB, free: 9.16 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/1.234, allocations: 1.312 kB / 1.43 GB, free: 9.16 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/1.234, allocations: 14.62 kB / 1.43 GB, free: 9.148 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/1.234, allocations: 7.031 kB / 1.43 GB, free: 9.148 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006649/1.234, allocations: 303.6 kB / 1.43 GB, free: 9.016 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/1.237, allocations: 1.215 MB / 1.431 GB, free: 7.977 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/1.237, allocations: 292.6 kB / 1.431 GB, free: 7.824 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/1.238, allocations: 182.1 kB / 1.432 GB, free: 7.738 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/1.238, allocations: 194.9 kB / 1.432 GB, free: 7.535 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/1.238, allocations: 38.28 kB / 1.432 GB, free: 7.492 MB / 1.123 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/1.238, allocations: 0 / 1.432 GB, free: 7.492 MB / 1.123 GB Notification: Performance of matching and sorting (n=35): time 0.002729/1.241, allocations: 1.04 MB / 1.433 GB, free: 6.828 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/1.241, allocations: 54.75 kB / 1.433 GB, free: 6.766 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/1.241, allocations: 326 kB / 1.433 GB, free: 6.555 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/1.242, allocations: 31.89 kB / 1.433 GB, free: 6.52 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/1.242, allocations: 181.4 kB / 1.433 GB, free: 6.352 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/1.242, allocations: 125.9 kB / 1.434 GB, free: 6.242 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/1.242, allocations: 63.91 kB / 1.434 GB, free: 6.199 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001942/1.242, allocations: 343.5 kB / 1.434 GB, free: 5.863 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/1.243, allocations: 116.9 kB / 1.434 GB, free: 5.809 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/1.243, allocations: 161.6 kB / 1.434 GB, free: 5.719 MB / 1.123 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.0022/1.245, allocations: 0.7646 MB / 1.435 GB, free: 5.289 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.245, allocations: 0 / 1.435 GB, free: 5.289 MB / 1.123 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008327/1.246, allocations: 358.3 kB / 1.435 GB, free: 5.105 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/1.246, allocations: 5.5 kB / 1.435 GB, free: 5.105 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.246, allocations: 1.375 kB / 1.435 GB, free: 5.105 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/1.246, allocations: 9.141 kB / 1.435 GB, free: 5.098 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/1.246, allocations: 67.31 kB / 1.435 GB, free: 5.082 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/1.246, allocations: 6.938 kB / 1.435 GB, free: 5.078 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/1.247, allocations: 9.969 kB / 1.435 GB, free: 5.074 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/1.247, allocations: 16.42 kB / 1.435 GB, free: 5.066 MB / 1.123 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.0003208/1.247, allocations: 170.2 kB / 1.436 GB, free: 4.918 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/1.247, allocations: 37.05 kB / 1.436 GB, free: 4.898 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/1.247, allocations: 50.75 kB / 1.436 GB, free: 4.859 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/1.248, allocations: 7.406 kB / 1.436 GB, free: 4.855 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/1.248, allocations: 11.94 kB / 1.436 GB, free: 4.844 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007361/1.248, allocations: 413.9 kB / 1.436 GB, free: 4.559 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/1.25, allocations: 1.064 MB / 1.437 GB, free: 3.73 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.25, allocations: 2.75 kB / 1.437 GB, free: 3.73 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/1.251, allocations: 88.45 kB / 1.437 GB, free: 3.707 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/1.251, allocations: 4.125 kB / 1.437 GB, free: 3.707 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/1.251, allocations: 10.88 kB / 1.437 GB, free: 3.703 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/1.251, allocations: 9.438 kB / 1.437 GB, free: 3.699 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/1.251, allocations: 8.062 kB / 1.437 GB, free: 3.695 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/1.252, allocations: 0.6847 MB / 1.438 GB, free: 3.199 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/1.252, allocations: 146.5 kB / 1.438 GB, free: 3.062 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/1.252, allocations: 17.81 kB / 1.438 GB, free: 3.051 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/1.253, allocations: 20.39 kB / 1.438 GB, free: 3.043 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/1.253, allocations: 33.44 kB / 1.438 GB, free: 3.023 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/1.253, allocations: 16.59 kB / 1.438 GB, free: 3.02 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003006/1.253, allocations: 232.9 kB / 1.438 GB, free: 2.867 MB / 1.123 GB Notification: Performance of sort global known variables: time 4.41e-07/1.253, allocations: 0 / 1.438 GB, free: 2.867 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005478/1.254, allocations: 116.5 kB / 1.438 GB, free: 2.848 MB / 1.123 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.0004911/1.254, allocations: 164.9 kB / 1.439 GB, free: 2.727 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006504/1.255, allocations: 306.9 kB / 1.439 GB, free: 2.594 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.255, allocations: 1.75 kB / 1.439 GB, free: 2.594 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003002/1.255, allocations: 169.6 kB / 1.439 GB, free: 2.52 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/1.256, allocations: 217.1 kB / 1.439 GB, free: 2.406 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/1.258, allocations: 1.012 MB / 1.44 GB, free: 1.504 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/1.259, allocations: 0.8239 MB / 1.441 GB, free: 0.6562 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/1.259, allocations: 35.42 kB / 1.441 GB, free: 0.6211 MB / 1.123 GB Notification: Performance of SimCode: time 2.51e-07/1.259, allocations: 3.938 kB / 1.441 GB, free: 0.6172 MB / 1.123 GB Notification: Performance of Templates: time 0.01012/1.269, allocations: 5.919 MB / 1.447 GB, free: 10.73 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.55322202318348]