Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.001353/0.001353, allocations: 110 kB / 18.93 MB, free: 2.945 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.001581/0.001581, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.54/1.54, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.693/2.693, allocations: 443.5 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.83 kB / 1.062 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.952/0.9541, allocations: 160.8 MB / 1.219 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002395/0.9565, allocations: 0.7125 MB / 1.219 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.9576, allocations: 0.7989 MB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.9576, allocations: 5.125 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.9577, allocations: 3.938 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.862e-05/0.9577, allocations: 9.078 kB / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.239e-05/0.9578, allocations: 13.39 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.491e-05/0.9579, allocations: 40.61 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.958, allocations: 12.42 kB / 1.22 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.075e-05/0.9581, allocations: 17.53 kB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.9581, allocations: 29.77 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.9581, allocations: 3.812 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.9582, allocations: 2.844 kB / 1.22 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.9582, allocations: 9.125 kB / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.9582, allocations: 19.83 kB / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.9583, allocations: 42.45 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9583, allocations: 0 / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9583, allocations: 0 / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.9583, allocations: 1.406 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006041/0.9589, allocations: 366.5 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.959, allocations: 9.75 kB / 1.221 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.959, allocations: 14.66 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.9592, allocations: 162.7 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.9592, allocations: 1.719 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.9592, allocations: 1.688 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.9594, allocations: 71.66 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.9595, allocations: 192 / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.9595, allocations: 4.875 kB / 1.221 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.9595, allocations: 5.031 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.9598, allocations: 66.95 kB / 1.221 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.9602, allocations: 271.5 kB / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.9604, allocations: 63.59 kB / 1.221 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.9605, allocations: 34.58 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.9605, allocations: 0.8125 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.9605, allocations: 35.69 kB / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.9605, allocations: 0 / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005207/0.9611, allocations: 129.5 kB / 1.221 GB, free: 1.172 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.9611, allocations: 52.75 kB / 1.221 GB, free: 1.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.9612, allocations: 107.3 kB / 1.222 GB, free: 1.004 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.9612, allocations: 29.64 kB / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.9613, allocations: 86.73 kB / 1.222 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.9613, allocations: 13.22 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.9614, allocations: 23.89 kB / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9615, allocations: 312.4 kB / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.9617, allocations: 28.59 kB / 1.222 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.9618, allocations: 38.42 kB / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.962, allocations: 71 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.962, allocations: 3.938 kB / 1.222 GB, free: 468 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003302/0.9624, allocations: 93.56 kB / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.9624, allocations: 5.125 kB / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.9624, allocations: 0 / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.9624, allocations: 1.062 kB / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.9626, allocations: 21.45 kB / 1.222 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.9626, allocations: 1.125 kB / 1.222 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.9626, allocations: 10.8 kB / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.9626, allocations: 5.625 kB / 1.222 GB, free: 388 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001027/0.9628, allocations: 123.2 kB / 1.222 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.9628, allocations: 6.047 kB / 1.222 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.9628, allocations: 9.062 kB / 1.222 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.9628, allocations: 9.109 kB / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.9628, allocations: 0 / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9628, allocations: 0 / 1.222 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.963, allocations: 170.2 kB / 1.223 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.9631, allocations: 3.984 kB / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.9632, allocations: 17.83 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.9632, allocations: 1.312 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.9632, allocations: 0 / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.9632, allocations: 1.25 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9632, allocations: 320 / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.9636, allocations: 195.9 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.9636, allocations: 90.02 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.9636, allocations: 5.156 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.9637, allocations: 10.36 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.9638, allocations: 10.05 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.9638, allocations: 0.8125 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.471e-05/0.9639, allocations: 89.58 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9639, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002171/0.9641, allocations: 5.906 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0001361/0.9642, allocations: 93.41 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003545/0.9646, allocations: 74.41 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9646, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.9647, allocations: 40.56 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.9651, allocations: 11.28 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.9655, allocations: 132.3 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.9659, allocations: 0.6842 MB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.721e-05/0.9659, allocations: 1.094 kB / 1.224 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.966, allocations: 9.594 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.966, allocations: 0 / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.003776/0.9697, allocations: 0.6909 MB / 1.225 GB, free: 14.29 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.146558498032391]