Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00197/0.00197, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.002621/0.002621, allocations: 207.8 kB / 22.25 MB, free: 5.137 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7706 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002129/0.002129, allocations: 68.89 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.358, allocations: 170 MB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2266/0.5845, allocations: 163.7 MB / 1.444 GB, free: 6.926 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006681/0.5912, allocations: 3.847 MB / 1.447 GB, free: 3.07 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004225/0.5916, allocations: 19.81 kB / 1.447 GB, free: 3.051 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007521/0.5924, allocations: 194.7 kB / 1.448 GB, free: 2.859 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.5952, allocations: 0.8829 MB / 1.448 GB, free: 1.973 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.5965, allocations: 450.2 kB / 1.449 GB, free: 1.535 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.5983, allocations: 1.054 MB / 1.45 GB, free: 492 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004899/0.5988, allocations: 233.2 kB / 1.45 GB, free: 252 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009635/0.5998, allocations: 438.2 kB / 1.451 GB, free: 15.82 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.6008, allocations: 350.2 kB / 1.451 GB, free: 15.48 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.099e-05/0.6008, allocations: 28 kB / 1.451 GB, free: 15.45 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.6025, allocations: 0.7715 MB / 1.452 GB, free: 14.68 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.6027, allocations: 171.5 kB / 1.452 GB, free: 14.51 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.603, allocations: 215 kB / 1.452 GB, free: 14.3 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.6046, allocations: 0.7513 MB / 1.453 GB, free: 13.54 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6047, allocations: 0 / 1.453 GB, free: 13.54 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6047, allocations: 0 / 1.453 GB, free: 13.54 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.6047, allocations: 0 / 1.453 GB, free: 13.54 MB / 1.154 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.001404/0.6061, allocations: 0.6797 MB / 1.453 GB, free: 12.83 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.6061, allocations: 12.03 kB / 1.453 GB, free: 12.82 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.6072, allocations: 147.6 kB / 1.454 GB, free: 12.68 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.608, allocations: 340.1 kB / 1.454 GB, free: 12.32 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.608, allocations: 24.66 kB / 1.454 GB, free: 12.29 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.6081, allocations: 31.95 kB / 1.454 GB, free: 12.26 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008125/0.6089, allocations: 326 kB / 1.454 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.6089, allocations: 4 kB / 1.454 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.6089, allocations: 15.94 kB / 1.454 GB, free: 11.91 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.6089, allocations: 4 kB / 1.454 GB, free: 11.91 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006213/0.6095, allocations: 314.3 kB / 1.455 GB, free: 11.61 MB / 1.154 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.002165/0.6117, allocations: 1.17 MB / 1.456 GB, free: 10.33 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.6122, allocations: 271.4 kB / 1.456 GB, free: 10.06 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.6126, allocations: 173.3 kB / 1.456 GB, free: 9.887 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.6128, allocations: 36.27 kB / 1.456 GB, free: 9.852 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.6128, allocations: 34.84 kB / 1.456 GB, free: 9.809 MB / 1.154 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.6128, allocations: 0 / 1.456 GB, free: 9.809 MB / 1.154 GB Notification: Performance of matching and sorting (n=35): time 0.002684/0.6155, allocations: 0.9752 MB / 1.457 GB, free: 8.801 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.6156, allocations: 55.41 kB / 1.457 GB, free: 8.734 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/0.6162, allocations: 324.5 kB / 1.458 GB, free: 8.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.6162, allocations: 33.7 kB / 1.458 GB, free: 8.371 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.6164, allocations: 184.8 kB / 1.458 GB, free: 8.184 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.6165, allocations: 122.9 kB / 1.458 GB, free: 8.062 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.6166, allocations: 65.7 kB / 1.458 GB, free: 7.992 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002392/0.6169, allocations: 342.8 kB / 1.458 GB, free: 7.648 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.6171, allocations: 115.9 kB / 1.458 GB, free: 7.535 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.6174, allocations: 164 kB / 1.459 GB, free: 7.367 MB / 1.154 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.00203/0.6195, allocations: 0.6836 MB / 1.459 GB, free: 6.68 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6195, allocations: 0 / 1.459 GB, free: 6.68 MB / 1.154 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006651/0.6201, allocations: 357 kB / 1.46 GB, free: 6.324 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.6201, allocations: 4 kB / 1.46 GB, free: 6.32 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.6202, allocations: 4 kB / 1.46 GB, free: 6.316 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.6202, allocations: 3.938 kB / 1.46 GB, free: 6.312 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.6205, allocations: 67.91 kB / 1.46 GB, free: 6.246 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.6205, allocations: 3.984 kB / 1.46 GB, free: 6.242 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.6209, allocations: 18.69 kB / 1.46 GB, free: 6.227 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.6209, allocations: 23.92 kB / 1.46 GB, free: 6.203 MB / 1.154 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.0002349/0.6212, allocations: 169.8 kB / 1.46 GB, free: 6.027 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/0.6212, allocations: 39.77 kB / 1.46 GB, free: 5.988 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.6214, allocations: 48.06 kB / 1.46 GB, free: 5.941 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6214, allocations: 7.938 kB / 1.46 GB, free: 5.934 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6214, allocations: 0 / 1.46 GB, free: 5.934 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006489/0.622, allocations: 416.4 kB / 1.46 GB, free: 5.496 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.6241, allocations: 1.039 MB / 1.461 GB, free: 4.363 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.6241, allocations: 4.031 kB / 1.461 GB, free: 4.359 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.6245, allocations: 83.89 kB / 1.461 GB, free: 4.277 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.6245, allocations: 8 kB / 1.461 GB, free: 4.27 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.6245, allocations: 8 kB / 1.461 GB, free: 4.262 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/0.6245, allocations: 15.88 kB / 1.461 GB, free: 4.246 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6245, allocations: 4 kB / 1.461 GB, free: 4.242 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.6256, allocations: 0.6875 MB / 1.462 GB, free: 3.492 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.6258, allocations: 67.72 kB / 1.462 GB, free: 3.426 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.6258, allocations: 15.94 kB / 1.462 GB, free: 3.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.6262, allocations: 24.05 kB / 1.462 GB, free: 3.387 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.6263, allocations: 31.89 kB / 1.462 GB, free: 3.355 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.6263, allocations: 15.94 kB / 1.462 GB, free: 3.34 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003081/0.6266, allocations: 235 kB / 1.462 GB, free: 3.113 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6266, allocations: 0 / 1.462 GB, free: 3.113 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005456/0.6272, allocations: 111.9 kB / 1.463 GB, free: 3.004 MB / 1.154 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.000304/0.6275, allocations: 153.4 kB / 1.463 GB, free: 2.844 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006668/0.6281, allocations: 291.7 kB / 1.463 GB, free: 2.559 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.6281, allocations: 3.938 kB / 1.463 GB, free: 2.555 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.6285, allocations: 160.5 kB / 1.463 GB, free: 2.398 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.6296, allocations: 231.2 kB / 1.463 GB, free: 2.18 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.6316, allocations: 0.9691 MB / 1.464 GB, free: 1.137 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007348/0.6324, allocations: 0.8235 MB / 1.465 GB, free: 296 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004089/0.6328, allocations: 103.2 kB / 1.465 GB, free: 196 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.6329, allocations: 39.44 kB / 1.465 GB, free: 156 kB / 1.154 GB Notification: Performance of SimCode: time 5.21e-07/0.6329, allocations: 3.938 kB / 1.465 GB, free: 152 kB / 1.154 GB Notification: Performance of Templates: time 0.01757/0.6504, allocations: 7.677 MB / 1.473 GB, free: 8.586 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.70710172271356]