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 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006692/0.006692, allocations: 95.83 kB / 15.73 MB, free: 6.055 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.001696/0.001696, allocations: 206.5 kB / 16.68 MB, free: 5.977 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.339/1.339, 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 12.0.0-master/package.mo): time 2.673/2.673, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 71.89 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2744, allocations: 162.3 MB / 1.242 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001567/0.276, allocations: 0.7165 MB / 1.243 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007757/0.2768, allocations: 0.7962 MB / 1.243 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.2769, allocations: 0 / 1.243 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.2769, allocations: 3.938 kB / 1.243 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.495e-05/0.277, allocations: 3.938 kB / 1.243 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.909e-05/0.277, allocations: 15.98 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.2771, allocations: 43.84 kB / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.2772, allocations: 11.94 kB / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.981e-05/0.2773, allocations: 19.98 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.2773, allocations: 19.91 kB / 1.244 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.2773, allocations: 4 kB / 1.244 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-06/0.2773, allocations: 7.938 kB / 1.244 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.2774, allocations: 4 kB / 1.244 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.2774, allocations: 23.91 kB / 1.244 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.12e-05/0.2775, allocations: 43.81 kB / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2775, allocations: 0 / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2775, allocations: 0 / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2775, allocations: 0 / 1.244 GB, free: 8.074 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.0004878/0.278, allocations: 363.3 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.278, allocations: 12.03 kB / 1.244 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.2781, allocations: 34.73 kB / 1.244 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.788e-05/0.2781, allocations: 4.938 kB / 1.244 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.2782, allocations: 176.3 kB / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.2782, allocations: 384 / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.2782, allocations: 8.312 kB / 1.244 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.2785, allocations: 66.22 kB / 1.244 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2785, allocations: 3.938 kB / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.2785, allocations: 0 / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.2785, allocations: 0 / 1.244 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.2788, allocations: 67.92 kB / 1.244 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.2791, allocations: 268.9 kB / 1.245 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.2793, allocations: 54.47 kB / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.2794, allocations: 40.92 kB / 1.245 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.2795, allocations: 0 / 1.245 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.2795, allocations: 34.56 kB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2795, allocations: 0 / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004957/0.28, allocations: 137.5 kB / 1.245 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.28, allocations: 59.34 kB / 1.245 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.946e-05/0.2801, allocations: 109.8 kB / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.2801, allocations: 25.7 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.2802, allocations: 92.12 kB / 1.245 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.2802, allocations: 11.84 kB / 1.245 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.2803, allocations: 21.7 kB / 1.245 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2804, allocations: 314.8 kB / 1.245 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.2805, allocations: 27.97 kB / 1.245 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.2807, allocations: 39.95 kB / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.2809, allocations: 76.66 kB / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2809, allocations: 0 / 1.246 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002976/0.2812, allocations: 97.56 kB / 1.246 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2813, allocations: 8 kB / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.2813, allocations: 0 / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2813, allocations: 0 / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.2814, allocations: 15.98 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.2814, allocations: 4 kB / 1.246 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.2815, allocations: 11.97 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.2815, allocations: 8 kB / 1.246 GB, free: 5.688 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 7.52e-05/0.2816, allocations: 109.8 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.2816, allocations: 7.953 kB / 1.246 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.2816, allocations: 7.906 kB / 1.246 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2816, allocations: 0 / 1.246 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2816, allocations: 4 kB / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.2816, allocations: 0 / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.2818, allocations: 173.6 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.2818, allocations: 0 / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.844e-05/0.2819, allocations: 19.92 kB / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.2819, allocations: 0 / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.2819, allocations: 0 / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2819, allocations: 0 / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2819, allocations: 0 / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.2823, allocations: 199.3 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.2823, allocations: 85.06 kB / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.2823, allocations: 4 kB / 1.246 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2825, allocations: 11.98 kB / 1.246 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.2825, allocations: 7.984 kB / 1.246 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.2825, allocations: 0 / 1.246 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.2825, allocations: 87.28 kB / 1.246 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2826, allocations: 0 / 1.246 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001958/0.2828, allocations: 8 kB / 1.246 GB, free: 4.879 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.0006389/0.2834, allocations: 0.7328 MB / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.2837, allocations: 63.92 kB / 1.247 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2837, allocations: 0 / 1.247 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.2839, allocations: 40.05 kB / 1.247 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.2841, allocations: 11.94 kB / 1.247 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.2845, allocations: 171 kB / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.2848, allocations: 0.6768 MB / 1.248 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.377e-05/0.2848, allocations: 12 kB / 1.248 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.2848, allocations: 11.44 kB / 1.248 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.2849, allocations: 0 / 1.248 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.859/3.144, allocations: 1.638 MB / 1.25 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/17.47, allocations: 9.281 kB / 1.25 GB, free: 1.531 MB / 0.9981 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=400 --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