Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 190.9 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 63.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5471/0.5484, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001588/0.55, allocations: 0.7642 MB / 0.9498 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005316/0.5506, allocations: 0.8047 MB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.5506, allocations: 1.375 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.5506, allocations: 0 / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.5507, allocations: 3.938 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.301e-05/0.5508, allocations: 10.73 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.691e-05/0.5508, allocations: 44.34 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.767e-05/0.5509, allocations: 12.12 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.851e-05/0.551, allocations: 14.86 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.658e-05/0.551, allocations: 21.36 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.551, allocations: 1.375 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.551, allocations: 6.688 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.551, allocations: 9.359 kB / 0.9507 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.5511, allocations: 10.69 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.628e-05/0.5511, allocations: 46.66 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.5511, allocations: 1.375 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.31e-07/0.5511, allocations: 4 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.835e-06/0.5511, allocations: 0 / 0.9508 GB, free: 7.742 MB / 0.7169 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.0003743/0.5515, allocations: 366.3 kB / 0.9511 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.5516, allocations: 9.625 kB / 0.9511 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.259e-05/0.5516, allocations: 30.75 kB / 0.9512 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.944e-05/0.5516, allocations: 7.688 kB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.521e-05/0.5517, allocations: 175 kB / 0.9513 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.5517, allocations: 1.75 kB / 0.9513 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.5517, allocations: 9.734 kB / 0.9514 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.5519, allocations: 66.84 kB / 0.9514 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.5519, allocations: 7.875 kB / 0.9514 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.5519, allocations: 1.375 kB / 0.9514 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5519, allocations: 0 / 0.9514 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.5522, allocations: 71.73 kB / 0.9515 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.5524, allocations: 267.2 kB / 0.9518 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.5526, allocations: 49.02 kB / 0.9518 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.5528, allocations: 43.75 kB / 0.9518 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.5528, allocations: 0 / 0.9518 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.5528, allocations: 40 kB / 0.9519 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.5528, allocations: 0 / 0.9519 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004449/0.5532, allocations: 132.8 kB / 0.952 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.5533, allocations: 52.94 kB / 0.9521 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.735e-05/0.5533, allocations: 107.3 kB / 0.9522 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.752e-06/0.5533, allocations: 25.7 kB / 0.9522 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.052e-05/0.5534, allocations: 86.61 kB / 0.9523 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.5534, allocations: 9.062 kB / 0.9523 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.5534, allocations: 16.31 kB / 0.9523 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.266e-05/0.5534, allocations: 316 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.5536, allocations: 32.88 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.5537, allocations: 37.64 kB / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.5539, allocations: 67.39 kB / 0.9527 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5539, allocations: 4 kB / 0.9527 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002783/0.5542, allocations: 101.6 kB / 0.9528 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.5543, allocations: 9.062 kB / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.5543, allocations: 0 / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.5543, allocations: 1.156 kB / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.5544, allocations: 13.52 kB / 0.9528 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.5544, allocations: 5.312 kB / 0.9529 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.5545, allocations: 10.7 kB / 0.9529 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.5545, allocations: 5.812 kB / 0.9529 GB, free: 5.73 MB / 0.7169 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 4.11e-05/0.5545, allocations: 115.4 kB / 0.953 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.5546, allocations: 5.266 kB / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.5546, allocations: 9.562 kB / 0.953 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.5546, allocations: 0 / 0.953 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.5546, allocations: 1.844 kB / 0.953 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5546, allocations: 4.328 kB / 0.953 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.5547, allocations: 172.5 kB / 0.9532 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5547, allocations: 0 / 0.9532 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.164e-05/0.5548, allocations: 18.22 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.5548, allocations: 1.188 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.5548, allocations: 4 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5548, allocations: 0.9375 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5548, allocations: 7.922 kB / 0.9532 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.5551, allocations: 196.7 kB / 0.9534 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.5552, allocations: 82.67 kB / 0.9535 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.5552, allocations: 3.984 kB / 0.9535 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.5553, allocations: 11.17 kB / 0.9535 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.5553, allocations: 5.938 kB / 0.9535 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.5553, allocations: 0 / 0.9535 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.25e-05/0.5553, allocations: 94.61 kB / 0.9536 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5553, allocations: 0 / 0.9536 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002056/0.5556, allocations: 6.094 kB / 0.9536 GB, free: 4.996 MB / 0.7169 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.0005411/0.5561, allocations: 0.7322 MB / 0.9543 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.5564, allocations: 70.33 kB / 0.9544 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.5564, allocations: 0 / 0.9544 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.5566, allocations: 37.62 kB / 0.9544 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.5568, allocations: 12.55 kB / 0.9544 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.5572, allocations: 158.3 kB / 0.9546 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.5573, allocations: 0.6833 MB / 0.9552 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.301e-05/0.5573, allocations: 5.281 kB / 0.9552 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.5574, allocations: 8.469 kB / 0.9552 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.5574, allocations: 0 / 0.9552 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3595/0.9169, allocations: 1.373 MB / 0.9566 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001203/0.917, allocations: 206 kB / 0.9568 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.907, allocations: 4 kB / 0.9568 GB, free: 2.398 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches