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.001517/0.001517, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.001719/0.001719, allocations: 218.6 kB / 22.26 MB, free: 5.125 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 7.984 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.008/3.008, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] 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.00192/0.00192, allocations: 70.98 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3104, allocations: 176.1 MB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1865/0.497, allocations: 163.7 MB / 1.486 GB, free: 13.14 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005079/0.502, allocations: 3.85 MB / 1.49 GB, free: 9.277 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.5023, allocations: 19.81 kB / 1.49 GB, free: 9.258 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005594/0.5028, allocations: 190.7 kB / 1.49 GB, free: 9.07 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.5047, allocations: 0.8907 MB / 1.491 GB, free: 8.176 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009156/0.5056, allocations: 454.2 kB / 1.491 GB, free: 7.734 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.5068, allocations: 1.061 MB / 1.492 GB, free: 6.664 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/0.5072, allocations: 225.2 kB / 1.493 GB, free: 6.441 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.5082, allocations: 0.615 MB / 1.493 GB, free: 5.824 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008343/0.509, allocations: 337.8 kB / 1.494 GB, free: 5.496 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.5091, allocations: 32 kB / 1.494 GB, free: 5.465 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.5103, allocations: 0.756 MB / 1.494 GB, free: 4.707 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.5105, allocations: 163.5 kB / 1.495 GB, free: 4.547 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.5107, allocations: 222.9 kB / 1.495 GB, free: 4.328 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.5118, allocations: 0.7513 MB / 1.495 GB, free: 3.574 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5118, allocations: 0 / 1.495 GB, free: 3.574 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.416e-06/0.5118, allocations: 8 kB / 1.495 GB, free: 3.566 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5118, allocations: 0 / 1.495 GB, free: 3.566 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.001248/0.513, allocations: 0.672 MB / 1.496 GB, free: 2.863 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5131, allocations: 12.02 kB / 1.496 GB, free: 2.852 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.5141, allocations: 147.6 kB / 1.496 GB, free: 2.707 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000667/0.5148, allocations: 336.2 kB / 1.497 GB, free: 2.348 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.5148, allocations: 28.66 kB / 1.497 GB, free: 2.32 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.5149, allocations: 31.95 kB / 1.497 GB, free: 2.289 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005978/0.5155, allocations: 330 kB / 1.497 GB, free: 1.961 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.5155, allocations: 0 / 1.497 GB, free: 1.961 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.5155, allocations: 12 kB / 1.497 GB, free: 1.949 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.5156, allocations: 8 kB / 1.497 GB, free: 1.941 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005559/0.5161, allocations: 306.4 kB / 1.497 GB, free: 1.641 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.5179, allocations: 1.17 MB / 1.498 GB, free: 376 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.5183, allocations: 283.2 kB / 1.499 GB, free: 84 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.5186, allocations: 165.3 kB / 1.499 GB, free: 15.92 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.5188, allocations: 44.25 kB / 1.499 GB, free: 15.88 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.5189, allocations: 34.84 kB / 1.499 GB, free: 15.83 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.5189, allocations: 0 / 1.499 GB, free: 15.83 MB / 1.201 GB Notification: Performance of matching and sorting (n=35): time 0.002111/0.521, allocations: 0.9743 MB / 1.5 GB, free: 14.82 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.521, allocations: 55.41 kB / 1.5 GB, free: 14.76 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.5214, allocations: 316.5 kB / 1.5 GB, free: 14.45 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.5214, allocations: 29.7 kB / 1.5 GB, free: 14.41 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.5216, allocations: 176.8 kB / 1.5 GB, free: 14.23 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.5217, allocations: 130.8 kB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.5218, allocations: 69.7 kB / 1.501 GB, free: 14.03 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.522, allocations: 342.8 kB / 1.501 GB, free: 13.69 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.5222, allocations: 119.7 kB / 1.501 GB, free: 13.57 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.5225, allocations: 162.9 kB / 1.501 GB, free: 13.4 MB / 1.201 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.001779/0.5242, allocations: 0.6787 MB / 1.502 GB, free: 12.72 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5242, allocations: 0 / 1.502 GB, free: 12.72 MB / 1.201 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000603/0.5248, allocations: 361 kB / 1.502 GB, free: 12.36 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5249, allocations: 4 kB / 1.502 GB, free: 12.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5249, allocations: 4 kB / 1.502 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5249, allocations: 3.938 kB / 1.502 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.5252, allocations: 67.91 kB / 1.502 GB, free: 12.28 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.5252, allocations: 0 / 1.502 GB, free: 12.28 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.5255, allocations: 15.98 kB / 1.502 GB, free: 12.27 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.5256, allocations: 12 kB / 1.502 GB, free: 12.25 MB / 1.201 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.0002162/0.5258, allocations: 177.8 kB / 1.503 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.5259, allocations: 39.77 kB / 1.503 GB, free: 12.03 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.526, allocations: 52.05 kB / 1.503 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.526, allocations: 7.938 kB / 1.503 GB, free: 11.97 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.526, allocations: 4 kB / 1.503 GB, free: 11.97 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005707/0.5266, allocations: 412.3 kB / 1.503 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.5282, allocations: 1.038 MB / 1.504 GB, free: 10.4 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.5282, allocations: 7.938 kB / 1.504 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.5286, allocations: 79.89 kB / 1.504 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.5286, allocations: 8.469 kB / 1.504 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.5286, allocations: 12 kB / 1.504 GB, free: 10.3 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/0.5286, allocations: 15.88 kB / 1.504 GB, free: 10.28 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5286, allocations: 4 kB / 1.504 GB, free: 10.28 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00096/0.5296, allocations: 0.6852 MB / 1.505 GB, free: 9.531 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.5298, allocations: 71.66 kB / 1.505 GB, free: 9.461 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.5299, allocations: 15.94 kB / 1.505 GB, free: 9.445 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.5302, allocations: 19.98 kB / 1.505 GB, free: 9.426 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.5302, allocations: 35.95 kB / 1.505 GB, free: 9.391 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.5303, allocations: 15.94 kB / 1.505 GB, free: 9.375 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002483/0.5305, allocations: 235 kB / 1.505 GB, free: 9.145 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5305, allocations: 0 / 1.505 GB, free: 9.145 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000446/0.531, allocations: 107.9 kB / 1.505 GB, free: 9.039 MB / 1.201 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.0002456/0.5312, allocations: 151.1 kB / 1.505 GB, free: 8.879 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005725/0.5318, allocations: 300.1 kB / 1.506 GB, free: 8.586 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5318, allocations: 0 / 1.506 GB, free: 8.586 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.5321, allocations: 161.2 kB / 1.506 GB, free: 8.43 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.5331, allocations: 226.4 kB / 1.506 GB, free: 8.215 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.5347, allocations: 0.9737 MB / 1.507 GB, free: 7.168 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.5351, allocations: 0.8235 MB / 1.508 GB, free: 6.316 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002834/0.5354, allocations: 103.2 kB / 1.508 GB, free: 6.219 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.5355, allocations: 43.42 kB / 1.508 GB, free: 6.176 MB / 1.201 GB Notification: Performance of SimCode: time 5.61e-07/0.5355, allocations: 0 / 1.508 GB, free: 6.176 MB / 1.201 GB Notification: Performance of Templates: time 0.01355/0.5491, allocations: 7.675 MB / 1.515 GB, free: 14.61 MB / 1.217 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: 8.617893466260284]