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.01025/0.01025, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.002579/0.002579, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 59.91 kB / 1.054 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3299, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002139/0.3321, allocations: 0.7047 MB / 1.208 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000986/0.3331, allocations: 0.7923 MB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.3332, allocations: 0 / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.591e-05/0.3332, allocations: 3.938 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.841e-05/0.3333, allocations: 15.92 kB / 1.209 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.487e-05/0.3334, allocations: 7.984 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.926e-05/0.3335, allocations: 39.86 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3336, allocations: 19.97 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.3337, allocations: 23.92 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.3338, allocations: 15.92 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.3338, allocations: 4 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.3338, allocations: 4 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.3338, allocations: 11.92 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.3339, allocations: 11.94 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.334, allocations: 43.81 kB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.334, allocations: 0 / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.164e-06/0.334, allocations: 0 / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.334, allocations: 4 kB / 1.209 GB, free: 8.359 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.0006062/0.3346, allocations: 367.6 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3347, allocations: 12.62 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.3347, allocations: 30.75 kB / 1.209 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.3348, allocations: 8.938 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3349, allocations: 176.2 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.335, allocations: 8.375 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.335, allocations: 4.359 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.3352, allocations: 74.16 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.3353, allocations: 3.938 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3353, allocations: 0 / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3353, allocations: 4 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.3356, allocations: 59.92 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.336, allocations: 272.9 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.3362, allocations: 54.48 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3363, allocations: 36.91 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3363, allocations: 4 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.3364, allocations: 38.56 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.3364, allocations: 0 / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004968/0.3369, allocations: 121.6 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.3369, allocations: 67.27 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.044e-05/0.337, allocations: 105.8 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.337, allocations: 25.7 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.3371, allocations: 92.12 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.3371, allocations: 3.906 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.3372, allocations: 17.72 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3373, allocations: 314.8 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.3374, allocations: 35.97 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.3375, allocations: 27.97 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.3378, allocations: 72.72 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3378, allocations: 3.938 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002862/0.3381, allocations: 101.5 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3381, allocations: 9.656 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3381, allocations: 3.984 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3382, allocations: 0 / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3383, allocations: 15.98 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3383, allocations: 0 / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.183e-05/0.3384, allocations: 11.98 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.3384, allocations: 4 kB / 1.211 GB, free: 5.98 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.36e-05/0.3385, allocations: 113.8 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.3385, allocations: 4 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.3385, allocations: 11.89 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3386, allocations: 0 / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3386, allocations: 0 / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3386, allocations: 0 / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3387, allocations: 169.9 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3388, allocations: 0 / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.008e-05/0.3389, allocations: 19.98 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3389, allocations: 3.984 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3389, allocations: 4 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3389, allocations: 0 / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3389, allocations: 0 / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.3392, allocations: 207.2 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.3393, allocations: 81.05 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3393, allocations: 4 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.3394, allocations: 15.97 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.3395, allocations: 0 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.3395, allocations: 4 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.084e-05/0.3395, allocations: 91.56 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3395, allocations: 0 / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000218/0.3398, allocations: 12 kB / 1.212 GB, free: 5.152 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.0006857/0.3405, allocations: 0.7356 MB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003086/0.3408, allocations: 67.92 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3408, allocations: 0 / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.3409, allocations: 35.97 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3413, allocations: 11.94 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.3419, allocations: 167 kB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3421, allocations: 0.6845 MB / 1.213 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.3422, allocations: 0 / 1.213 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.3422, allocations: 15.42 kB / 1.213 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.3423, allocations: 0 / 1.213 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.361, allocations: 1.629 MB / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.924, allocations: 6.688 kB / 1.215 GB, free: 1.809 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