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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001232/0.001232, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001203/0.001203, allocations: 203.1 kB / 16.15 MB, free: 6.598 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.206/1.206, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.397/2.397, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 65.55 kB / 0.8985 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2215, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.00171/0.2232, allocations: 0.768 MB / 1.053 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007253/0.224, allocations: 0.8157 MB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.224, allocations: 3.938 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.224, allocations: 0 / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.2241, allocations: 11.92 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.418e-05/0.2242, allocations: 11.98 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.055e-05/0.2242, allocations: 39.86 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.918e-05/0.2243, allocations: 8 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.664e-05/0.2244, allocations: 15.98 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.042e-05/0.2244, allocations: 23.84 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.2245, allocations: 7.938 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-06/0.2245, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.2245, allocations: 12 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.2245, allocations: 15.86 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.464e-05/0.2246, allocations: 39.86 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2246, allocations: 0 / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.02e-07/0.2246, allocations: 0 / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.2246, allocations: 0 / 1.054 GB, free: 6.395 MB / 0.8106 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.000449/0.2251, allocations: 355.7 kB / 1.054 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2251, allocations: 19.95 kB / 1.054 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.2251, allocations: 38.75 kB / 1.054 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.18e-05/0.2252, allocations: 8.844 kB / 1.054 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.624e-05/0.2253, allocations: 164.3 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.2253, allocations: 384 / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.2253, allocations: 4.375 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.2255, allocations: 66.22 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2255, allocations: 3.938 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2256, allocations: 3.984 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2256, allocations: 11.94 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.2258, allocations: 55.94 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.2261, allocations: 272.8 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.2263, allocations: 58.53 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.2265, allocations: 36.92 kB / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.2265, allocations: 0 / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.2265, allocations: 38.5 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.2265, allocations: 0 / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004765/0.227, allocations: 133.6 kB / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.227, allocations: 51.41 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.2271, allocations: 105.8 kB / 1.055 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.2271, allocations: 25.7 kB / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.2272, allocations: 88.14 kB / 1.055 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.2272, allocations: 15.8 kB / 1.055 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.2272, allocations: 17.72 kB / 1.055 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.2273, allocations: 310.8 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.2275, allocations: 39.89 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.2276, allocations: 31.91 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.2278, allocations: 80.66 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2279, allocations: 4 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002816/0.2281, allocations: 93.62 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.2282, allocations: 4 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2282, allocations: 4 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.2282, allocations: 0 / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2283, allocations: 15.98 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2283, allocations: 3.984 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.2284, allocations: 11.98 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.2284, allocations: 4.312 kB / 1.056 GB, free: 4.023 MB / 0.8106 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 6.41e-05/0.2285, allocations: 113.7 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.2285, allocations: 7.906 kB / 1.056 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.2285, allocations: 11.91 kB / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2286, allocations: 0 / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2286, allocations: 0 / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.2286, allocations: 0 / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.2287, allocations: 173.6 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2287, allocations: 0 / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-05/0.2288, allocations: 15.98 kB / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2288, allocations: 0 / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2288, allocations: 0 / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2288, allocations: 0 / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2288, allocations: 4 kB / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.2292, allocations: 199.4 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.2292, allocations: 84.95 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.2292, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2293, allocations: 19.92 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.2294, allocations: 3.984 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.2294, allocations: 4 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.2294, allocations: 87.27 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2294, allocations: 0 / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002043/0.2296, allocations: 8 kB / 1.057 GB, free: 3.207 MB / 0.8106 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.0005655/0.2302, allocations: 0.7284 MB / 1.057 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.2305, allocations: 71.89 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2305, allocations: 4 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.2307, allocations: 39.95 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.2309, allocations: 17.59 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.2313, allocations: 176.7 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.2315, allocations: 0.677 MB / 1.058 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.2316, allocations: 4 kB / 1.058 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.2316, allocations: 11.44 kB / 1.058 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2316, allocations: 0 / 1.058 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009495/0.2411, allocations: 1.364 MB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.2413, allocations: 214.5 kB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/1.714, allocations: 0 / 1.06 GB, free: 15.87 MB / 0.8262 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