Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",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.001302/0.001302, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001337/0.001337, allocations: 192.7 kB / 16.25 MB, free: 6.621 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.518/2.518, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 68.77 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2215, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001727/0.2233, allocations: 0.7728 MB / 1.053 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006541/0.224, allocations: 0.8079 MB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.224, allocations: 4 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.224, allocations: 0 / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.2241, allocations: 15.91 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.924e-05/0.2242, allocations: 8 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.2242, allocations: 43.84 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.2243, allocations: 12 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.309e-05/0.2244, allocations: 15.92 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.835e-05/0.2244, allocations: 23.86 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.2245, allocations: 8 kB / 1.054 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.2245, allocations: 4 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.2245, allocations: 11.98 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.2245, allocations: 15.88 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.885e-05/0.2246, allocations: 39.84 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2246, allocations: 0 / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2246, allocations: 4 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.2246, allocations: 0 / 1.054 GB, free: 6.848 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.0004124/0.225, allocations: 359.7 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.2251, allocations: 12.62 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.771e-05/0.2251, allocations: 30.75 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.2251, allocations: 8.844 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.465e-05/0.2252, allocations: 168.3 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.2252, allocations: 8.312 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-06/0.2253, allocations: 4.375 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.2255, allocations: 66.16 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2255, allocations: 3.938 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2255, allocations: 8 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.2255, allocations: 4 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.2258, allocations: 63.92 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.226, allocations: 264.8 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.2262, allocations: 66.47 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.2264, allocations: 36.91 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.2264, allocations: 0 / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.2264, allocations: 34.56 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2264, allocations: 4 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000458/0.2269, allocations: 125.6 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.2269, allocations: 51.41 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.506e-05/0.227, allocations: 109.8 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.227, allocations: 29.7 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.227, allocations: 88.14 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.2271, allocations: 15.73 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.2271, allocations: 17.7 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.2272, allocations: 314.8 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.2273, allocations: 31.97 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.2274, allocations: 35.95 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.2277, allocations: 80.66 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2277, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002737/0.228, allocations: 97.62 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.228, allocations: 5.406 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.228, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.228, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2281, allocations: 19.92 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.2281, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.082e-05/0.2282, allocations: 15.97 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.2282, allocations: 0 / 1.056 GB, free: 4.477 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.062e-05/0.2283, allocations: 121.8 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.2283, allocations: 3.906 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.2286, allocations: 105.5 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2286, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2286, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.2286, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.2288, allocations: 173.5 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2288, allocations: 4 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.848e-05/0.2289, allocations: 19.98 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2289, allocations: 7.875 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2289, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2289, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2289, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.2292, allocations: 199.4 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.2292, allocations: 81.44 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.2292, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.2293, allocations: 15.98 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.2294, allocations: 3.984 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.2294, allocations: 4 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.472e-05/0.2294, allocations: 83.28 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2294, allocations: 4 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001985/0.2296, allocations: 8 kB / 1.057 GB, free: 3.555 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.0005232/0.2302, allocations: 0.7357 MB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002776/0.2305, allocations: 67.92 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2305, allocations: 4 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.2306, allocations: 39.89 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.2309, allocations: 15.94 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.2312, allocations: 167 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.2314, allocations: 0.6807 MB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.2314, allocations: 0 / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.2315, allocations: 11.44 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2315, allocations: 4 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.037/1.268, allocations: 1.413 MB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/1.269, allocations: 206.3 kB / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/3.007, allocations: 0 / 1.06 GB, free: 188 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches