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.001488/0.001488, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 197 kB / 16.53 MB, free: 6.664 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.453/2.453, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 68.92 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.227, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001942/0.229, allocations: 0.7099 MB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008026/0.2298, allocations: 0.8001 MB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.2299, allocations: 0 / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.2299, allocations: 3.938 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.169e-05/0.23, allocations: 7.922 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.882e-05/0.2301, allocations: 19.97 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.2301, allocations: 47.73 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.2303, allocations: 12 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.952e-05/0.2303, allocations: 15.98 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.2304, allocations: 27.84 kB / 1.055 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.2304, allocations: 4 kB / 1.055 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.2304, allocations: 4 kB / 1.055 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.2304, allocations: 4 kB / 1.055 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.2305, allocations: 19.86 kB / 1.055 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.791e-05/0.2305, allocations: 43.86 kB / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2305, allocations: 0 / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2306, allocations: 4 kB / 1.055 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.2306, allocations: 0 / 1.055 GB, free: 6.523 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.0004836/0.2311, allocations: 355.7 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2311, allocations: 12.62 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.2311, allocations: 34.73 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.2312, allocations: 4.844 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2313, allocations: 172.3 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.2313, allocations: 4.375 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.2313, allocations: 8.375 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.2315, allocations: 66.22 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2316, allocations: 3.938 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2316, allocations: 3.984 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2316, allocations: 4 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.2319, allocations: 59.94 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.2322, allocations: 272.8 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.2324, allocations: 54.53 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2326, allocations: 40.92 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.2326, allocations: 0 / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.2326, allocations: 38.56 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.2326, allocations: 0 / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000526/0.2332, allocations: 133.5 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.2332, allocations: 51.41 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.2333, allocations: 105.8 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.2333, allocations: 25.7 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.2334, allocations: 88.14 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.2334, allocations: 11.8 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.2334, allocations: 17.72 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2335, allocations: 314.8 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.2337, allocations: 31.95 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.2338, allocations: 31.97 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.2341, allocations: 72.94 kB / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2341, allocations: 8 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003088/0.2344, allocations: 101.5 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2345, allocations: 9.094 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2345, allocations: 0 / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2345, allocations: 0 / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.2346, allocations: 19.98 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2346, allocations: 7.984 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.2347, allocations: 7.984 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.2347, allocations: 4 kB / 1.057 GB, free: 4.156 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 7.675e-05/0.2348, allocations: 113.8 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.2348, allocations: 7.906 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.2349, allocations: 7.906 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2349, allocations: 0 / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2349, allocations: 0 / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2349, allocations: 4 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.2351, allocations: 173.6 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2351, allocations: 0 / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.554e-05/0.2352, allocations: 19.98 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2352, allocations: 0 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.2352, allocations: 0 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2352, allocations: 320 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2352, allocations: 3.938 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.2355, allocations: 199.4 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.2356, allocations: 84.95 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.2356, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2357, allocations: 15.98 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.2358, allocations: 3.984 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.2358, allocations: 0 / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.472e-05/0.2358, allocations: 95.27 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2358, allocations: 0 / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002167/0.236, allocations: 8 kB / 1.057 GB, free: 3.336 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.0006091/0.2367, allocations: 0.7319 MB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.237, allocations: 63.92 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.237, allocations: 0 / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.2372, allocations: 47.89 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.2375, allocations: 7.938 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.238, allocations: 167 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.2382, allocations: 0.6845 MB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.2383, allocations: 4 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.2383, allocations: 11.44 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2383, allocations: 0 / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.2546, allocations: 1.589 MB / 1.061 GB, free: 20 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/7.961, allocations: 14.61 kB / 1.061 GB, free: 8 kB / 0.8106 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