Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 211.8 kB / 22.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.382/3.382, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 67.47 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3864, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2153/0.6017, allocations: 141.1 MB / 1.463 GB, free: 4.238 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006335/0.608, allocations: 3.543 MB / 1.467 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006729/0.6087, allocations: 23.81 kB / 1.467 GB, free: 0.6641 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008817/0.6096, allocations: 182.7 kB / 1.467 GB, free: 496 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.6124, allocations: 0.8557 MB / 1.468 GB, free: 15.62 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.6137, allocations: 444 kB / 1.468 GB, free: 15.2 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001684/0.6154, allocations: 1.038 MB / 1.469 GB, free: 14.15 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005482/0.616, allocations: 229.1 kB / 1.469 GB, free: 13.92 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.6175, allocations: 0.6072 MB / 1.47 GB, free: 13.31 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.6187, allocations: 332.2 kB / 1.47 GB, free: 12.99 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.6188, allocations: 32 kB / 1.47 GB, free: 12.96 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.6201, allocations: 0.5883 MB / 1.471 GB, free: 12.37 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002723/0.6204, allocations: 171.5 kB / 1.471 GB, free: 12.2 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.6207, allocations: 179.2 kB / 1.471 GB, free: 12.02 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.6222, allocations: 0.7396 MB / 1.472 GB, free: 11.28 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6222, allocations: 0 / 1.472 GB, free: 11.28 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6222, allocations: 0 / 1.472 GB, free: 11.28 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.666e-05/0.6222, allocations: 0 / 1.472 GB, free: 11.28 MB / 1.17 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.001507/0.6237, allocations: 0.6758 MB / 1.473 GB, free: 10.57 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.6238, allocations: 8.031 kB / 1.473 GB, free: 10.57 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.6249, allocations: 155.6 kB / 1.473 GB, free: 10.41 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000816/0.6257, allocations: 336.2 kB / 1.473 GB, free: 10.05 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.6257, allocations: 20.66 kB / 1.473 GB, free: 10.04 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.043e-05/0.6258, allocations: 35.95 kB / 1.473 GB, free: 10 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007552/0.6266, allocations: 428.8 kB / 1.474 GB, free: 9.551 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.6266, allocations: 0 / 1.474 GB, free: 9.551 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.6266, allocations: 19.94 kB / 1.474 GB, free: 9.531 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.6267, allocations: 8 kB / 1.474 GB, free: 9.523 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006632/0.6273, allocations: 310.4 kB / 1.474 GB, free: 9.219 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.6292, allocations: 0.793 MB / 1.475 GB, free: 8.391 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.6297, allocations: 273.6 kB / 1.475 GB, free: 8.117 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.6301, allocations: 179.7 kB / 1.475 GB, free: 7.941 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/0.6303, allocations: 36.25 kB / 1.475 GB, free: 7.906 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.6303, allocations: 42.84 kB / 1.475 GB, free: 7.855 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 1.644e-06/0.6303, allocations: 0 / 1.475 GB, free: 7.855 MB / 1.17 GB Notification: Performance of matching and sorting (n=35): time 0.002257/0.6326, allocations: 0.9555 MB / 1.476 GB, free: 6.867 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.6326, allocations: 59.34 kB / 1.476 GB, free: 6.797 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.6329, allocations: 260.2 kB / 1.476 GB, free: 6.539 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.6329, allocations: 33.7 kB / 1.476 GB, free: 6.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.6331, allocations: 184.7 kB / 1.477 GB, free: 6.316 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.6332, allocations: 130.9 kB / 1.477 GB, free: 6.188 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.6333, allocations: 57.7 kB / 1.477 GB, free: 6.125 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.6335, allocations: 338.8 kB / 1.477 GB, free: 5.785 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.6337, allocations: 127.6 kB / 1.477 GB, free: 5.66 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.6341, allocations: 265 kB / 1.478 GB, free: 5.367 MB / 1.17 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.001841/0.6359, allocations: 0.6781 MB / 1.478 GB, free: 4.684 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.6359, allocations: 4 kB / 1.478 GB, free: 4.68 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006599/0.6366, allocations: 353.1 kB / 1.479 GB, free: 4.328 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6366, allocations: 8 kB / 1.479 GB, free: 4.32 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6366, allocations: 3.984 kB / 1.479 GB, free: 4.316 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.6366, allocations: 0 / 1.479 GB, free: 4.316 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.637, allocations: 67.91 kB / 1.479 GB, free: 4.25 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.637, allocations: 7.938 kB / 1.479 GB, free: 4.242 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.6373, allocations: 13.48 kB / 1.479 GB, free: 4.23 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.6374, allocations: 8 kB / 1.479 GB, free: 4.223 MB / 1.17 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.0002216/0.6376, allocations: 181.7 kB / 1.479 GB, free: 4.035 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.6377, allocations: 39.77 kB / 1.479 GB, free: 3.996 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.6378, allocations: 47.03 kB / 1.479 GB, free: 3.945 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6378, allocations: 0 / 1.479 GB, free: 3.945 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6378, allocations: 7.938 kB / 1.479 GB, free: 3.938 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000623/0.6384, allocations: 408.3 kB / 1.479 GB, free: 3.508 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.6402, allocations: 0.9356 MB / 1.48 GB, free: 2.488 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.6402, allocations: 4 kB / 1.48 GB, free: 2.484 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.6406, allocations: 87.83 kB / 1.48 GB, free: 2.398 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.6406, allocations: 8.469 kB / 1.48 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.6407, allocations: 15.94 kB / 1.48 GB, free: 2.375 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.6407, allocations: 11.94 kB / 1.48 GB, free: 2.363 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6407, allocations: 4 kB / 1.48 GB, free: 2.359 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.6418, allocations: 0.6807 MB / 1.481 GB, free: 1.617 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.6419, allocations: 63.78 kB / 1.481 GB, free: 1.555 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.642, allocations: 11.98 kB / 1.481 GB, free: 1.543 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.6424, allocations: 20.06 kB / 1.481 GB, free: 1.523 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.6424, allocations: 35.83 kB / 1.481 GB, free: 1.488 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.6425, allocations: 19.98 kB / 1.481 GB, free: 1.469 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002001/0.6427, allocations: 187.1 kB / 1.481 GB, free: 1.285 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6427, allocations: 0 / 1.481 GB, free: 1.285 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005218/0.6432, allocations: 108 kB / 1.481 GB, free: 1.18 MB / 1.17 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.0002825/0.6435, allocations: 147.1 kB / 1.482 GB, free: 1.027 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006447/0.6441, allocations: 300 kB / 1.482 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6441, allocations: 0 / 1.482 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.6444, allocations: 165.1 kB / 1.482 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.6455, allocations: 188.9 kB / 1.482 GB, free: 408 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.6473, allocations: 0.9581 MB / 1.483 GB, free: 15.37 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.6476, allocations: 226.2 kB / 1.483 GB, free: 15.12 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003387/0.6479, allocations: 94.88 kB / 1.483 GB, free: 15.03 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.648, allocations: 31.44 kB / 1.483 GB, free: 15 MB / 1.186 GB Notification: Performance of SimCode: time 5.41e-07/0.648, allocations: 0 / 1.483 GB, free: 15 MB / 1.186 GB Notification: Performance of Templates: time 0.01422/0.6622, allocations: 7.137 MB / 1.49 GB, free: 8.031 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.894532654434443]