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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006291/0.006291, allocations: 102.3 kB / 15.73 MB, free: 6.012 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.001422/0.001422, allocations: 195.2 kB / 16.67 MB, free: 5.949 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.005/3.005, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 72.12 kB / 1.054 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.347, allocations: 157.4 MB / 1.207 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002103/0.3492, allocations: 0.7139 MB / 1.208 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3502, allocations: 0.7962 MB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.3503, allocations: 3.938 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.3503, allocations: 0 / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.3504, allocations: 7.875 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.821e-05/0.3505, allocations: 15.98 kB / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.3506, allocations: 47.84 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3507, allocations: 8 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.043e-05/0.3508, allocations: 15.98 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.3508, allocations: 19.86 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.3509, allocations: 4 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.3509, allocations: 4 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.3509, allocations: 7.984 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.3509, allocations: 19.92 kB / 1.209 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.487e-05/0.351, allocations: 47.8 kB / 1.209 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3511, allocations: 0 / 1.209 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3511, allocations: 0 / 1.209 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.3511, allocations: 0 / 1.209 GB, free: 8.336 MB / 0.9669 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.0005695/0.3516, allocations: 367.6 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3517, allocations: 12.62 kB / 1.209 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.3518, allocations: 34.69 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.3518, allocations: 0.9375 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.3519, allocations: 180.2 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3519, allocations: 4.375 kB / 1.21 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.352, allocations: 4.375 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.3522, allocations: 66.22 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3522, allocations: 3.938 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3523, allocations: 0 / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.3523, allocations: 0 / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.3526, allocations: 67.92 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.353, allocations: 272.8 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.3532, allocations: 54.53 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.3533, allocations: 40.92 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.3533, allocations: 0 / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.3534, allocations: 30.56 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.3534, allocations: 0 / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005435/0.3539, allocations: 137.5 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.354, allocations: 55.41 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.395e-05/0.354, allocations: 109.8 kB / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3541, allocations: 33.64 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.3541, allocations: 84.14 kB / 1.21 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.3542, allocations: 11.89 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.3542, allocations: 13.72 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3543, allocations: 322.8 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.3545, allocations: 31.91 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.3546, allocations: 31.95 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.3549, allocations: 80.66 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3549, allocations: 0 / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003185/0.3552, allocations: 97.53 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3552, allocations: 8 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3552, allocations: 0 / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3553, allocations: 0 / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3554, allocations: 11.98 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3554, allocations: 8 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.667e-05/0.3555, allocations: 7.984 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3555, allocations: 0 / 1.211 GB, free: 5.961 MB / 0.9669 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 8.458e-05/0.3556, allocations: 121.8 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.3556, allocations: 4 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.3557, allocations: 3.906 kB / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3557, allocations: 0 / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3557, allocations: 0 / 1.211 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3557, allocations: 4 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.3559, allocations: 169.6 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3559, allocations: 0 / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.356, allocations: 23.91 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.356, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.356, allocations: 0 / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.356, allocations: 4.312 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.356, allocations: 0 / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.3564, allocations: 199.3 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.3565, allocations: 89.03 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3565, allocations: 0 / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3566, allocations: 11.98 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.3566, allocations: 4 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.3566, allocations: 4 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.014e-05/0.3567, allocations: 91.25 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3567, allocations: 0 / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002196/0.3569, allocations: 12 kB / 1.212 GB, free: 5.133 MB / 0.9669 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.0007712/0.3577, allocations: 0.7321 MB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.3581, allocations: 75.89 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3581, allocations: 3.938 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.3583, allocations: 39.91 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3586, allocations: 9.547 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.3592, allocations: 164.5 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.3595, allocations: 0.6806 MB / 1.213 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.07e-05/0.3595, allocations: 4 kB / 1.213 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.3596, allocations: 15.44 kB / 1.213 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of SimCode: time 3.5e-07/0.3596, allocations: 0 / 1.213 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.3777, allocations: 1.645 MB / 1.215 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.367/7.745, allocations: 12.27 kB / 1.215 GB, free: 1.766 MB / 0.9669 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches