Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 105.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.91 kB / 1.056 GB, free: 2.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3059, allocations: 160.7 MB / 1.213 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004654/0.3106, allocations: 2.855 MB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.313, allocations: 1.364 MB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.3132, allocations: 15.88 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004705/0.3137, allocations: 143.2 kB / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.314, allocations: 147.2 kB / 1.217 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007121/0.3147, allocations: 307 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000549/0.3153, allocations: 483.4 kB / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002659/0.3155, allocations: 126.5 kB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.3158, allocations: 187.2 kB / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.3161, allocations: 203 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.3161, allocations: 40 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.3163, allocations: 75.98 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.3164, allocations: 99.61 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.3166, allocations: 182.9 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.3173, allocations: 0.529 MB / 1.219 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3173, allocations: 0 / 1.219 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3173, allocations: 0 / 1.219 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.3173, allocations: 0 / 1.219 GB, free: 10.67 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001242/0.3185, allocations: 0.7315 MB / 1.22 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3186, allocations: 16.03 kB / 1.22 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.178e-05/0.3187, allocations: 58.73 kB / 1.22 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.986e-05/0.3187, allocations: 44.66 kB / 1.22 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006966/0.3194, allocations: 407 kB / 1.221 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.3195, allocations: 20.94 kB / 1.221 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.3195, allocations: 31.92 kB / 1.221 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005529/0.3201, allocations: 271.7 kB / 1.221 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3201, allocations: 0 / 1.221 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.3201, allocations: 12 kB / 1.221 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3201, allocations: 4 kB / 1.221 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.3206, allocations: 182.2 kB / 1.221 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.322, allocations: 0.8804 MB / 1.222 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/0.3227, allocations: 225 kB / 1.222 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.3229, allocations: 80.83 kB / 1.222 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.323, allocations: 3.984 kB / 1.222 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.3233, allocations: 139.3 kB / 1.222 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.824e-06/0.3233, allocations: 0 / 1.222 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0007587/0.324, allocations: 295.3 kB / 1.223 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.3241, allocations: 51.41 kB / 1.223 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.3246, allocations: 413.6 kB / 1.223 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.3246, allocations: 37.64 kB / 1.223 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3248, allocations: 212.3 kB / 1.223 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.3249, allocations: 71.42 kB / 1.223 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.325, allocations: 49.94 kB / 1.224 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3251, allocations: 354.7 kB / 1.224 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.3253, allocations: 68.42 kB / 1.224 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.3255, allocations: 111.5 kB / 1.224 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.3259, allocations: 191.4 kB / 1.224 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3259, allocations: 0 / 1.224 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005515/0.3265, allocations: 267.8 kB / 1.224 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3265, allocations: 4 kB / 1.224 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3265, allocations: 7.984 kB / 1.224 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3265, allocations: 0 / 1.224 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.3268, allocations: 43.92 kB / 1.225 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3268, allocations: 7.984 kB / 1.225 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.3269, allocations: 23.83 kB / 1.225 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.3269, allocations: 8.156 kB / 1.225 GB, free: 5.148 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.nextTimeEvent,$whenCondition1,reaToInt.y,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEvent,dxSpeCon.not1.y,$whenCondition2,dxSpeCon.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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 0.0002049/0.3271, allocations: 171.4 kB / 1.225 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.3272, allocations: 39.75 kB / 1.225 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.41e-05/0.3273, allocations: 43.58 kB / 1.225 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.3273, allocations: 4 kB / 1.225 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3273, allocations: 0 / 1.225 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.3273, allocations: 3.938 kB / 1.225 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.3284, allocations: 0.6761 MB / 1.225 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3284, allocations: 4 kB / 1.225 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.3286, allocations: 35.91 kB / 1.226 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3286, allocations: 0 / 1.226 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3286, allocations: 7.938 kB / 1.226 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3286, allocations: 0 / 1.226 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3286, allocations: 0 / 1.226 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007707/0.3293, allocations: 427.1 kB / 1.226 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.3295, allocations: 140.7 kB / 1.226 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.3295, allocations: 7.938 kB / 1.226 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.3297, allocations: 11.98 kB / 1.226 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/0.3298, allocations: 15.98 kB / 1.226 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.3298, allocations: 11.98 kB / 1.226 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003314/0.3301, allocations: 295.2 kB / 1.226 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3301, allocations: 4.062 kB / 1.226 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003431/0.3305, allocations: 59.88 kB / 1.226 GB, free: 3.125 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dxSpeCon.dxSpe.I.y) * Number of discrete variables: 6 (dxSpeCon.not1.y,$whenCondition2,$whenCondition1,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,reaToInt.y) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002473/0.333, allocations: 1.267 MB / 1.228 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.3334, allocations: 167.8 kB / 1.228 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3334, allocations: 0 / 1.228 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.3336, allocations: 90.12 kB / 1.228 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.3342, allocations: 91.3 kB / 1.228 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.3386, allocations: 3.087 MB / 1.231 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.3391, allocations: 0.799 MB / 1.232 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.3393, allocations: 46.94 kB / 1.232 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.3395, allocations: 127.4 kB / 1.232 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/0.3395, allocations: 0 / 1.232 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.3734, allocations: 7.583 MB / 1.239 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/8.857, allocations: 3.625 kB / 1.239 GB, free: 6.047 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --stepSize=0.144 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.82679505692795]