Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.001144/0.001144, 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.001151/0.001151, allocations: 195.3 kB / 16.26 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.28/1.28, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.531/2.531, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.48 kB / 0.8987 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2134, allocations: 157.4 MB / 1.052 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001574/0.215, allocations: 0.7612 MB / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007062/0.2158, allocations: 0.8157 MB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.2158, allocations: 4 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.2158, allocations: 3.938 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.2159, allocations: 3.938 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.92e-05/0.216, allocations: 7.984 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.293e-05/0.2161, allocations: 47.86 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.217e-05/0.2161, allocations: 4 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.23e-05/0.2162, allocations: 23.92 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.847e-05/0.2162, allocations: 27.89 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.2163, allocations: 4 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.2163, allocations: 7.938 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.2163, allocations: 4 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.2163, allocations: 23.86 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.129e-05/0.2164, allocations: 35.88 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2164, allocations: 0 / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2164, allocations: 0 / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2164, allocations: 0 / 1.054 GB, free: 6.816 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.0004141/0.2168, allocations: 359.7 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.2169, allocations: 8.625 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.924e-05/0.2169, allocations: 42.67 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.065e-05/0.2169, allocations: 8.844 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.846e-05/0.217, allocations: 172.3 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-06/0.217, allocations: 384 / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.217, allocations: 384 / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.2173, allocations: 74.22 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2173, allocations: 3.938 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.2173, allocations: 0 / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2173, allocations: 3.984 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.2176, allocations: 59.94 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.2178, allocations: 276.8 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.218, allocations: 58.53 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.2181, allocations: 36.92 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.2182, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.2182, allocations: 38.55 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.2182, allocations: 0 / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004564/0.2187, allocations: 125.5 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.2187, allocations: 51.41 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.2188, allocations: 113.8 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.2188, allocations: 25.7 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.2188, allocations: 88.12 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.2188, allocations: 11.81 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.2189, allocations: 13.72 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.219, allocations: 314.8 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.2191, allocations: 31.95 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2192, allocations: 39.91 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.2194, allocations: 72.72 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2195, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002738/0.2197, allocations: 101.6 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2198, allocations: 8 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.2198, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.2198, allocations: 336 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.2199, allocations: 19.97 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2199, allocations: 7.938 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/0.22, allocations: 7.984 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.22, allocations: 4 kB / 1.056 GB, free: 4.445 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 5.425e-05/0.22, allocations: 113.8 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.2201, allocations: 11.89 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.2204, allocations: 105.5 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2204, allocations: 0 / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2204, allocations: 4 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2204, allocations: 7.984 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.2206, allocations: 173.5 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2206, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.2207, allocations: 11.98 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2207, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.2207, allocations: 4 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2207, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2207, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.221, allocations: 203.3 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.221, allocations: 81.02 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.2211, allocations: 4 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/0.2212, allocations: 7.984 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.2212, allocations: 11.98 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2212, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.2213, allocations: 91.27 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2213, allocations: 0 / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001998/0.2215, allocations: 8 kB / 1.057 GB, free: 3.52 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.0005137/0.222, allocations: 0.7241 MB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.2223, allocations: 79.84 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2223, allocations: 0 / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.2224, allocations: 35.91 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.2227, allocations: 9.719 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.223, allocations: 167 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.2232, allocations: 0.6807 MB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.74e-05/0.2232, allocations: 4 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.2233, allocations: 19.42 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2233, allocations: 0 / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8188/1.042, allocations: 1.425 MB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/1.042, allocations: 199.5 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.576, allocations: 0 / 1.06 GB, free: 156 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches