Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0014/0.0014, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001487/0.001487, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.314/1.314, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.492/2.492, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 71.89 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8081, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001619/0.8097, allocations: 0.7231 MB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006838/0.8104, allocations: 0.805 MB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.8104, allocations: 0.75 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.8104, allocations: 3.938 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.849e-05/0.8105, allocations: 6.281 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.185e-05/0.8105, allocations: 15.78 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.516e-05/0.8106, allocations: 39.45 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.8107, allocations: 12.97 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.819e-05/0.8108, allocations: 22.03 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.8108, allocations: 22.69 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.8108, allocations: 7.703 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.8108, allocations: 3.781 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.8109, allocations: 10.98 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.8109, allocations: 13.42 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.594e-05/0.811, allocations: 38.14 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.811, allocations: 0.8125 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.811, allocations: 3.938 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.811, allocations: 0.8438 kB / 1.273 GB, free: 6.559 MB / 0.9981 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.0004209/0.8114, allocations: 369.4 kB / 1.273 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.8114, allocations: 9.656 kB / 1.273 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.526e-05/0.8115, allocations: 36.3 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/0.8115, allocations: 6.578 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.712e-05/0.8116, allocations: 164.4 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.8116, allocations: 1.906 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.8116, allocations: 9.781 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.8118, allocations: 68.97 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.8118, allocations: 4.688 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.8118, allocations: 0.9062 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.8118, allocations: 0 / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.8121, allocations: 63.25 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.8124, allocations: 277.8 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.8126, allocations: 58.69 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.8127, allocations: 38.33 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.8127, allocations: 0 / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.8128, allocations: 35.5 kB / 1.274 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.8128, allocations: 0.9688 kB / 1.274 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004871/0.8132, allocations: 124.6 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.8133, allocations: 56.19 kB / 1.274 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.334e-05/0.8133, allocations: 111.7 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-06/0.8133, allocations: 30.77 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.252e-05/0.8133, allocations: 89.12 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.8134, allocations: 9.734 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.8134, allocations: 16 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.8134, allocations: 315.7 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.8136, allocations: 30.22 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.8137, allocations: 37.03 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.8139, allocations: 68.72 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8139, allocations: 3.375 kB / 1.275 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002904/0.8142, allocations: 103.5 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.8142, allocations: 5.125 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.8142, allocations: 1.188 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.8143, allocations: 0 / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.8144, allocations: 23.45 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.8144, allocations: 0.8438 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.8145, allocations: 18.22 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.8145, allocations: 0.9688 kB / 1.275 GB, free: 4.727 MB / 0.9981 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 3.985e-05/0.8145, allocations: 119.6 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.8145, allocations: 2.188 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.8145, allocations: 4.875 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.8145, allocations: 0 / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.8145, allocations: 0.9688 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.8145, allocations: 0 / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.8147, allocations: 177.2 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8147, allocations: 0 / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.8147, allocations: 18.41 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.8147, allocations: 0.8125 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.8148, allocations: 1.062 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.8148, allocations: 0 / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8148, allocations: 0 / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.8151, allocations: 206 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.8151, allocations: 80.94 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.8151, allocations: 1 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.8152, allocations: 9.766 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.8152, allocations: 7.719 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.8152, allocations: 0.9062 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.567e-05/0.8153, allocations: 84.42 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8153, allocations: 0 / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001977/0.8155, allocations: 10.12 kB / 1.276 GB, free: 4.051 MB / 0.9981 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.00048/0.8159, allocations: 0.7364 MB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.8162, allocations: 70.39 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8162, allocations: 0 / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.8164, allocations: 33.88 kB / 1.277 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.8167, allocations: 7.172 kB / 1.277 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.817, allocations: 170 kB / 1.277 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.538e-05/0.8171, allocations: 0.6783 MB / 1.278 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.8171, allocations: 2.328 kB / 1.278 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.8172, allocations: 13.28 kB / 1.278 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.8172, allocations: 4.781 kB / 1.278 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.8393, allocations: 1.623 MB / 1.279 GB, free: 18.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/7.678, allocations: 13.61 kB / 1.279 GB, free: 18.08 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.949630264000007]