Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.001896/0.001896, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001789/0.001789, allocations: 222.5 kB / 23.03 MB, free: 4.945 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.23/3.23, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="cs",version="2.0",platforms={"static"}) [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.00312/0.00312, allocations: 68.22 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4543, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002368/0.4567, allocations: 0.6975 MB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.458, allocations: 0.832 MB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.458, allocations: 4 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.097e-05/0.4581, allocations: 7.922 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.793e-05/0.4581, allocations: 3.938 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.306e-05/0.4582, allocations: 11.98 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.4583, allocations: 47.8 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4584, allocations: 11.98 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.616e-05/0.4585, allocations: 11.98 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.284e-05/0.4585, allocations: 23.86 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.4586, allocations: 8 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-06/0.4586, allocations: 4 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.4586, allocations: 8 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.4586, allocations: 15.91 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.4588, allocations: 40.09 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4588, allocations: 4 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4588, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.4588, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 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.0006145/0.4594, allocations: 290.2 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.4594, allocations: 16.02 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.705e-05/0.4594, allocations: 4.188 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.5e-05/0.4595, allocations: 34.69 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.4595, allocations: 0.9375 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.4596, allocations: 114.4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.4597, allocations: 8.375 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.4597, allocations: 4.312 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.4599, allocations: 69.97 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.46, allocations: 3.984 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.46, allocations: 11.98 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.46, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.4603, allocations: 59.94 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.4607, allocations: 231.9 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.4609, allocations: 54.55 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.4611, allocations: 40.91 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.4611, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4611, allocations: 34.56 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.4611, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005544/0.4617, allocations: 137.5 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.4617, allocations: 51.41 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.4618, allocations: 109.8 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4619, allocations: 25.7 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.4619, allocations: 88.12 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.4619, allocations: 11.95 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.462, allocations: 9.719 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4622, allocations: 326.8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.4623, allocations: 23.97 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.4624, allocations: 35.95 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.4627, allocations: 64.8 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4627, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003483/0.463, allocations: 113.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4631, allocations: 6.344 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4631, allocations: 4.312 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.4631, allocations: 4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.4632, allocations: 11.98 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4632, allocations: 3.938 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.4633, allocations: 11.98 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4633, allocations: 3.984 kB / 1.33 GB, free: 13.55 MB / 1.029 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.0001011/0.4634, allocations: 118.3 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.4634, allocations: 7.938 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.4635, allocations: 12 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4635, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4635, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4635, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.4637, allocations: 140.6 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4637, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.4638, allocations: 19.92 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4638, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4638, allocations: 12.25 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4638, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4638, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.4642, allocations: 199.4 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.4642, allocations: 3.953 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.4642, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.4643, allocations: 11.98 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.4644, allocations: 7.984 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.4644, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.266e-05/0.4644, allocations: 87.27 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4644, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002184/0.4646, allocations: 8 kB / 1.331 GB, free: 12.85 MB / 1.029 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.0007862/0.4654, allocations: 0.728 MB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.4658, allocations: 67.92 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4658, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.4659, allocations: 35.91 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.4663, allocations: 9.719 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.4668, allocations: 155.2 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.82e-05/0.4669, allocations: 67.34 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.4669, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.467, allocations: 19.36 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.467, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.4903, allocations: 1.834 MB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.92, allocations: 16.25 kB / 1.334 GB, free: 10 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.995985404937528]