Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001358/0.001358, allocations: 108.6 kB / 16.45 MB, free: 6.035 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.001352/0.001352, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.508/1.508, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.3/3.3, allocations: 497.2 MB / 0.7811 GB, free: 33.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 68.7 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3954, allocations: 173.9 MB / 1.304 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002333/0.3977, allocations: 0.7123 MB / 1.305 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3989, allocations: 0.8044 MB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.399, allocations: 0 / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.399, allocations: 3.938 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.3991, allocations: 7.938 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.096e-05/0.3991, allocations: 15.98 kB / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3992, allocations: 43.84 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.3994, allocations: 8 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.464e-05/0.3995, allocations: 19.81 kB / 1.306 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.886e-05/0.3995, allocations: 19.92 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3995, allocations: 4 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.3996, allocations: 4 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.3996, allocations: 7.984 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.3996, allocations: 19.86 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.3997, allocations: 44.08 kB / 1.306 GB, free: 15.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3998, allocations: 0 / 1.306 GB, free: 15.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3998, allocations: 4 kB / 1.306 GB, free: 15.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3998, allocations: 0 / 1.306 GB, free: 15.77 MB / 1.014 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.000672/0.4004, allocations: 359.4 kB / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.4005, allocations: 12.62 kB / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.4005, allocations: 30.75 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.4006, allocations: 4.891 kB / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.4007, allocations: 184.2 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.4008, allocations: 8.375 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.4008, allocations: 4.375 kB / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.401, allocations: 62.22 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.401, allocations: 7.875 kB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.401, allocations: 7.938 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.4011, allocations: 0 / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.4013, allocations: 67.92 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.4018, allocations: 264.9 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.402, allocations: 54.48 kB / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.4021, allocations: 48.91 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.4021, allocations: 0 / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.4021, allocations: 30.56 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4021, allocations: 0 / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005191/0.4027, allocations: 137.5 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.4027, allocations: 51.41 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.4028, allocations: 113.8 kB / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.4028, allocations: 25.7 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.4029, allocations: 84.12 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.4029, allocations: 11.95 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.403, allocations: 9.719 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4031, allocations: 322.8 kB / 1.308 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.4032, allocations: 31.97 kB / 1.308 GB, free: 13.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.4034, allocations: 31.95 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.4036, allocations: 68.73 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4036, allocations: 4 kB / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000303/0.4039, allocations: 105.5 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4039, allocations: 5.406 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4039, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4039, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.4041, allocations: 15.98 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4041, allocations: 0 / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.388e-05/0.4042, allocations: 15.98 kB / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.4042, allocations: 0 / 1.308 GB, free: 13.4 MB / 1.014 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 9.65e-05/0.4043, allocations: 125.8 kB / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.4043, allocations: 0 / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.4043, allocations: 3.906 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.4043, allocations: 4 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4043, allocations: 336 / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4043, allocations: 0 / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.4045, allocations: 181.5 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4045, allocations: 0 / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.7e-05/0.4046, allocations: 15.97 kB / 1.308 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.4046, allocations: 3.984 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.4046, allocations: 4 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4046, allocations: 0 / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4046, allocations: 0 / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.405, allocations: 207.2 kB / 1.308 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.405, allocations: 81.09 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.4051, allocations: 4 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.4052, allocations: 7.984 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.4052, allocations: 8 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.4052, allocations: 0 / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.4053, allocations: 91.27 kB / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4053, allocations: 4 kB / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002137/0.4055, allocations: 4 kB / 1.308 GB, free: 12.57 MB / 1.014 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.0007594/0.4062, allocations: 0.7357 MB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.4066, allocations: 67.92 kB / 1.309 GB, free: 11.74 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4066, allocations: 0 / 1.309 GB, free: 11.74 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.4067, allocations: 31.97 kB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.407, allocations: 16.53 kB / 1.309 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.4076, allocations: 155 kB / 1.309 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.4079, allocations: 0.6846 MB / 1.31 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.203e-05/0.408, allocations: 0 / 1.31 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.408, allocations: 11.44 kB / 1.31 GB, free: 10.77 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.408, allocations: 8 kB / 1.31 GB, free: 10.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.433, allocations: 1.642 MB / 1.312 GB, free: 9.227 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.454, allocations: 8.891 kB / 1.312 GB, free: 9.219 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.418229104019701]