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.00153/0.00153, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001647/0.001647, allocations: 188.9 kB / 22.23 MB, free: 5.133 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.36/1.36, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.923/2.923, allocations: 0.4893 GB / 0.7884 GB, free: 33.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.001846/0.001846, allocations: 62.52 kB / 1.145 GB, free: 30.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.308, allocations: 174.9 MB / 1.316 GB, free: 9.574 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1795/0.4875, allocations: 160.8 MB / 1.473 GB, free: 8.188 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005383/0.4929, allocations: 3.845 MB / 1.477 GB, free: 4.328 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.4932, allocations: 15.88 kB / 1.477 GB, free: 4.312 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005875/0.4938, allocations: 194.6 kB / 1.477 GB, free: 4.121 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.4959, allocations: 0.8946 MB / 1.478 GB, free: 3.223 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.4969, allocations: 449.6 kB / 1.478 GB, free: 2.789 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001346/0.4983, allocations: 1.057 MB / 1.479 GB, free: 1.723 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.4987, allocations: 230.9 kB / 1.48 GB, free: 1.496 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.4999, allocations: 0.5994 MB / 1.48 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009226/0.5008, allocations: 344.7 kB / 1.48 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.787e-05/0.5008, allocations: 32 kB / 1.48 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.5023, allocations: 0.7599 MB / 1.481 GB, free: 15.77 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.5025, allocations: 163.5 kB / 1.481 GB, free: 15.61 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.5027, allocations: 215 kB / 1.482 GB, free: 15.39 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.5039, allocations: 0.759 MB / 1.482 GB, free: 14.63 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5039, allocations: 0 / 1.482 GB, free: 14.63 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5039, allocations: 7.938 kB / 1.482 GB, free: 14.62 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.5039, allocations: 4 kB / 1.482 GB, free: 14.62 MB / 1.186 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.001098/0.505, allocations: 0.6681 MB / 1.483 GB, free: 13.92 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.505, allocations: 11.97 kB / 1.483 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.506, allocations: 151.6 kB / 1.483 GB, free: 13.76 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006211/0.5067, allocations: 340.1 kB / 1.483 GB, free: 13.4 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.5067, allocations: 28.66 kB / 1.484 GB, free: 13.38 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.5067, allocations: 28 kB / 1.484 GB, free: 13.35 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.5073, allocations: 333.9 kB / 1.484 GB, free: 13.02 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.5073, allocations: 0 / 1.484 GB, free: 13.02 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.5074, allocations: 12 kB / 1.484 GB, free: 13 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.5074, allocations: 4 kB / 1.484 GB, free: 13 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.5079, allocations: 314.4 kB / 1.484 GB, free: 12.69 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.5097, allocations: 1.17 MB / 1.485 GB, free: 11.42 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.5101, allocations: 267.5 kB / 1.486 GB, free: 11.15 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.5104, allocations: 169.9 kB / 1.486 GB, free: 10.98 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.5106, allocations: 48.19 kB / 1.486 GB, free: 10.93 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.5107, allocations: 34.84 kB / 1.486 GB, free: 10.89 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.5107, allocations: 0 / 1.486 GB, free: 10.89 MB / 1.186 GB Notification: Performance of matching and sorting (n=35): time 0.002063/0.5127, allocations: 0.9709 MB / 1.487 GB, free: 9.887 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.5128, allocations: 55.41 kB / 1.487 GB, free: 9.82 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.5131, allocations: 312.5 kB / 1.487 GB, free: 9.508 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.5131, allocations: 33.7 kB / 1.487 GB, free: 9.469 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.5132, allocations: 176.8 kB / 1.487 GB, free: 9.293 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.5134, allocations: 126.9 kB / 1.487 GB, free: 9.168 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.5135, allocations: 69.66 kB / 1.487 GB, free: 9.094 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5136, allocations: 346.8 kB / 1.488 GB, free: 8.746 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.5138, allocations: 119.9 kB / 1.488 GB, free: 8.629 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.5141, allocations: 160 kB / 1.488 GB, free: 8.465 MB / 1.186 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.00172/0.5158, allocations: 0.6854 MB / 1.489 GB, free: 7.773 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5158, allocations: 0 / 1.489 GB, free: 7.773 MB / 1.186 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005902/0.5164, allocations: 361.3 kB / 1.489 GB, free: 7.414 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5164, allocations: 4 kB / 1.489 GB, free: 7.41 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.5164, allocations: 4 kB / 1.489 GB, free: 7.406 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.5165, allocations: 3.938 kB / 1.489 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.5168, allocations: 63.91 kB / 1.489 GB, free: 7.34 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5168, allocations: 0 / 1.489 GB, free: 7.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.5171, allocations: 21.86 kB / 1.489 GB, free: 7.32 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.5171, allocations: 11.94 kB / 1.489 GB, free: 7.309 MB / 1.186 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.000225/0.5174, allocations: 177.8 kB / 1.489 GB, free: 7.125 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.5174, allocations: 43.75 kB / 1.489 GB, free: 7.082 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.5175, allocations: 48.06 kB / 1.489 GB, free: 7.035 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.5175, allocations: 7.938 kB / 1.489 GB, free: 7.027 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5175, allocations: 0 / 1.489 GB, free: 7.027 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005532/0.5181, allocations: 404.3 kB / 1.49 GB, free: 6.602 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.5198, allocations: 1.044 MB / 1.491 GB, free: 5.461 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5198, allocations: 4 kB / 1.491 GB, free: 5.457 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.5202, allocations: 83.89 kB / 1.491 GB, free: 5.375 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.5202, allocations: 8.469 kB / 1.491 GB, free: 5.367 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.5202, allocations: 12 kB / 1.491 GB, free: 5.355 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.5202, allocations: 11.94 kB / 1.491 GB, free: 5.344 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.5202, allocations: 7.938 kB / 1.491 GB, free: 5.336 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009512/0.5212, allocations: 0.6858 MB / 1.492 GB, free: 4.59 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.5213, allocations: 67.72 kB / 1.492 GB, free: 4.523 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.5214, allocations: 15.94 kB / 1.492 GB, free: 4.508 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.5217, allocations: 15.98 kB / 1.492 GB, free: 4.492 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.5218, allocations: 39.95 kB / 1.492 GB, free: 4.453 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.5218, allocations: 15.94 kB / 1.492 GB, free: 4.438 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002388/0.5221, allocations: 235 kB / 1.492 GB, free: 4.207 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5221, allocations: 0 / 1.492 GB, free: 4.207 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004489/0.5225, allocations: 107.9 kB / 1.492 GB, free: 4.102 MB / 1.186 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.0004376/0.523, allocations: 167.5 kB / 1.492 GB, free: 3.93 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006464/0.5236, allocations: 299.5 kB / 1.493 GB, free: 3.637 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5236, allocations: 0 / 1.493 GB, free: 3.637 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.5239, allocations: 159.7 kB / 1.493 GB, free: 3.48 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.5249, allocations: 227.1 kB / 1.493 GB, free: 3.262 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.5268, allocations: 0.9715 MB / 1.494 GB, free: 2.219 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.5273, allocations: 0.8274 MB / 1.495 GB, free: 1.363 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003328/0.5276, allocations: 103.2 kB / 1.495 GB, free: 1.266 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.5277, allocations: 39.42 kB / 1.495 GB, free: 1.227 MB / 1.186 GB Notification: Performance of SimCode: time 3.9e-07/0.5277, allocations: 0 / 1.495 GB, free: 1.227 MB / 1.186 GB Notification: Performance of Templates: time 0.01409/0.5418, allocations: 7.674 MB / 1.502 GB, free: 9.66 MB / 1.201 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.610856695100665]