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.001647/0.001647, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001807/0.001807, allocations: 217.5 kB / 22.99 MB, free: 4.965 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.737/2.737, allocations: 476 MB / 0.7707 GB, free: 4.734 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.002056/0.002056, allocations: 65.47 kB / 1.118 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3313, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1823/0.5136, allocations: 141 MB / 1.422 GB, free: 14.35 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005799/0.5194, allocations: 3.532 MB / 1.425 GB, free: 10.81 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005615/0.52, allocations: 23.81 kB / 1.425 GB, free: 10.79 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007893/0.5208, allocations: 186.7 kB / 1.425 GB, free: 10.6 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.5232, allocations: 0.8557 MB / 1.426 GB, free: 9.742 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.5244, allocations: 434.5 kB / 1.426 GB, free: 9.32 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001593/0.526, allocations: 1.042 MB / 1.427 GB, free: 8.277 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005357/0.5265, allocations: 237.1 kB / 1.428 GB, free: 8.039 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008243/0.5274, allocations: 430.3 kB / 1.428 GB, free: 7.617 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009681/0.5283, allocations: 329.4 kB / 1.428 GB, free: 7.297 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.474e-05/0.5284, allocations: 32 kB / 1.428 GB, free: 7.266 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.5296, allocations: 0.6038 MB / 1.429 GB, free: 6.66 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.5298, allocations: 159.5 kB / 1.429 GB, free: 6.504 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.53, allocations: 191.1 kB / 1.429 GB, free: 6.316 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.5312, allocations: 0.7435 MB / 1.43 GB, free: 5.57 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5312, allocations: 0 / 1.43 GB, free: 5.57 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5312, allocations: 0 / 1.43 GB, free: 5.57 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.5312, allocations: 0 / 1.43 GB, free: 5.57 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.001198/0.5324, allocations: 0.672 MB / 1.431 GB, free: 4.867 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.5324, allocations: 11.97 kB / 1.431 GB, free: 4.855 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.5334, allocations: 151.6 kB / 1.431 GB, free: 4.707 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/0.5341, allocations: 340.2 kB / 1.431 GB, free: 4.348 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.5342, allocations: 20.66 kB / 1.431 GB, free: 4.328 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/0.5342, allocations: 32 kB / 1.431 GB, free: 4.297 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006584/0.5349, allocations: 424.8 kB / 1.432 GB, free: 3.848 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.5349, allocations: 4 kB / 1.432 GB, free: 3.844 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.535, allocations: 16 kB / 1.432 GB, free: 3.828 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.535, allocations: 8 kB / 1.432 GB, free: 3.82 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/0.5355, allocations: 306.4 kB / 1.432 GB, free: 3.523 MB / 1.123 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.001645/0.5372, allocations: 0.8124 MB / 1.433 GB, free: 2.676 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.5377, allocations: 275.3 kB / 1.433 GB, free: 2.398 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.538, allocations: 173.3 kB / 1.433 GB, free: 2.227 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/0.5382, allocations: 36.27 kB / 1.433 GB, free: 2.191 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.5382, allocations: 34.84 kB / 1.433 GB, free: 2.148 MB / 1.123 GB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.5382, allocations: 4 kB / 1.433 GB, free: 2.145 MB / 1.123 GB Notification: Performance of matching and sorting (n=35): time 0.002148/0.5404, allocations: 0.9559 MB / 1.434 GB, free: 1.156 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.5404, allocations: 55.34 kB / 1.434 GB, free: 1.09 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.5407, allocations: 260.2 kB / 1.435 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.5407, allocations: 37.7 kB / 1.435 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.5408, allocations: 184.7 kB / 1.435 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.541, allocations: 122.9 kB / 1.435 GB, free: 492 kB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.5411, allocations: 65.7 kB / 1.435 GB, free: 420 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5412, allocations: 342.8 kB / 1.435 GB, free: 68 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.5415, allocations: 115.9 kB / 1.435 GB, free: 15.95 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.5418, allocations: 270.8 kB / 1.436 GB, free: 15.66 MB / 1.139 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.001772/0.5436, allocations: 0.6897 MB / 1.436 GB, free: 14.96 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5436, allocations: 0 / 1.436 GB, free: 14.96 MB / 1.139 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006209/0.5442, allocations: 353 kB / 1.437 GB, free: 14.61 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.5442, allocations: 4 kB / 1.437 GB, free: 14.61 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.5442, allocations: 4.031 kB / 1.437 GB, free: 14.61 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.5443, allocations: 4 kB / 1.437 GB, free: 14.6 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.5446, allocations: 67.91 kB / 1.437 GB, free: 14.54 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.5446, allocations: 3.938 kB / 1.437 GB, free: 14.53 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.5449, allocations: 15.98 kB / 1.437 GB, free: 14.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.5449, allocations: 15.98 kB / 1.437 GB, free: 14.5 MB / 1.139 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.0002082/0.5451, allocations: 169.8 kB / 1.437 GB, free: 14.32 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.5452, allocations: 35.77 kB / 1.437 GB, free: 14.29 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.5453, allocations: 51.03 kB / 1.437 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5453, allocations: 4 kB / 1.437 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.5453, allocations: 3.938 kB / 1.437 GB, free: 14.22 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005943/0.5459, allocations: 412.4 kB / 1.437 GB, free: 13.79 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.5476, allocations: 0.9411 MB / 1.438 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5477, allocations: 4 kB / 1.438 GB, free: 12.76 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003761/0.548, allocations: 83.89 kB / 1.438 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.548, allocations: 4 kB / 1.438 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.5481, allocations: 12.47 kB / 1.438 GB, free: 12.66 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.5481, allocations: 4 kB / 1.438 GB, free: 12.66 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.5481, allocations: 11.98 kB / 1.438 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009939/0.5491, allocations: 0.6913 MB / 1.439 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.5493, allocations: 67.75 kB / 1.439 GB, free: 11.83 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.5493, allocations: 12 kB / 1.439 GB, free: 11.82 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.5496, allocations: 15.98 kB / 1.439 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.5497, allocations: 43.89 kB / 1.439 GB, free: 11.76 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.5497, allocations: 16 kB / 1.439 GB, free: 11.74 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001834/0.5499, allocations: 183.1 kB / 1.439 GB, free: 11.57 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5499, allocations: 0 / 1.439 GB, free: 11.57 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004571/0.5504, allocations: 108 kB / 1.44 GB, free: 11.46 MB / 1.139 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.0002843/0.5507, allocations: 157.9 kB / 1.44 GB, free: 11.3 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005977/0.5513, allocations: 287.6 kB / 1.44 GB, free: 11.02 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5513, allocations: 4 kB / 1.44 GB, free: 11.02 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.5516, allocations: 163.9 kB / 1.44 GB, free: 10.86 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009734/0.5525, allocations: 177.2 kB / 1.44 GB, free: 10.69 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.5542, allocations: 1.004 MB / 1.441 GB, free: 9.609 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.5545, allocations: 218.2 kB / 1.441 GB, free: 9.379 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.5546, allocations: 39.44 kB / 1.441 GB, free: 9.34 MB / 1.139 GB Notification: Performance of SimCode: time 3.7e-07/0.5546, allocations: 3.938 kB / 1.441 GB, free: 9.336 MB / 1.139 GB Notification: Performance of Templates: time 0.009237/0.5638, allocations: 5.55 MB / 1.447 GB, free: 3.824 MB / 1.139 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/jenkins1/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: 12.247716567013413]