Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007399/0.0007399, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000831/0.000831, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8762/0.8762, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.667/1.667, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.548e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003159/0.003175, allocations: 2.724 MB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.005074, allocations: 1.457 MB / 0.985 GB, free: 14.41 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.005245, allocations: 11.94 kB / 0.985 GB, free: 14.4 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.005643, allocations: 147.1 kB / 0.9852 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.005943, allocations: 194.8 kB / 0.9854 GB, free: 14.06 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.006279, allocations: 286.2 kB / 0.9856 GB, free: 13.79 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.006616, allocations: 499.3 kB / 0.9861 GB, free: 13.3 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.006818, allocations: 131.1 kB / 0.9862 GB, free: 13.17 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.00708, allocations: 271.3 kB / 0.9865 GB, free: 12.9 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.007257, allocations: 163.5 kB / 0.9866 GB, free: 12.74 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.007295, allocations: 36 kB / 0.9867 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.782e-05/0.007393, allocations: 83.92 kB / 0.9868 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.274e-05/0.007476, allocations: 107.5 kB / 0.9869 GB, free: 12.52 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.566e-05/0.007551, allocations: 103.6 kB / 0.987 GB, free: 12.42 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.007966, allocations: 0.5451 MB / 0.9875 GB, free: 11.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.007968, allocations: 0 / 0.9875 GB, free: 11.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.007969, allocations: 0 / 0.9875 GB, free: 11.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.007974, allocations: 0 / 0.9875 GB, free: 11.87 MB / 0.948 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.0007652/0.008739, allocations: 0.6805 MB / 0.9882 GB, free: 11.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.008776, allocations: 8.031 kB / 0.9882 GB, free: 11.15 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.853e-05/0.008824, allocations: 62.72 kB / 0.9882 GB, free: 11.08 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.008945, allocations: 60.59 kB / 0.9883 GB, free: 11.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.009352, allocations: 354.9 kB / 0.9886 GB, free: 10.65 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.009371, allocations: 20.86 kB / 0.9886 GB, free: 10.63 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.009402, allocations: 24.38 kB / 0.9887 GB, free: 10.61 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.009738, allocations: 304.8 kB / 0.989 GB, free: 10.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.009747, allocations: 0 / 0.989 GB, free: 10.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.009766, allocations: 8 kB / 0.989 GB, free: 10.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.009773, allocations: 11.94 kB / 0.989 GB, free: 10.27 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.01002, allocations: 181.9 kB / 0.9891 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.01087, allocations: 0.7716 MB / 0.9899 GB, free: 9.27 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.01137, allocations: 222.9 kB / 0.9901 GB, free: 9.043 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.01148, allocations: 84.81 kB / 0.9902 GB, free: 8.957 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.0115, allocations: 8 kB / 0.9902 GB, free: 8.949 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.0117, allocations: 139.2 kB / 0.9903 GB, free: 8.801 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.01171, allocations: 0 / 0.9903 GB, free: 8.801 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0004472/0.01215, allocations: 299.7 kB / 0.9906 GB, free: 8.504 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.01218, allocations: 59.39 kB / 0.9907 GB, free: 8.434 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.01249, allocations: 429.6 kB / 0.9911 GB, free: 8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.01266, allocations: 33.7 kB / 0.9911 GB, free: 7.961 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.01277, allocations: 224.3 kB / 0.9913 GB, free: 7.738 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.01281, allocations: 67.42 kB / 0.9914 GB, free: 7.672 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.01287, allocations: 49.94 kB / 0.9914 GB, free: 7.617 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/0.01296, allocations: 350.8 kB / 0.9918 GB, free: 7.266 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.01307, allocations: 72.42 kB / 0.9918 GB, free: 7.195 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.01319, allocations: 112.4 kB / 0.992 GB, free: 7.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.01342, allocations: 199 kB / 0.9921 GB, free: 6.859 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.01342, allocations: 0 / 0.9921 GB, free: 6.859 MB / 0.948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003141/0.01373, allocations: 265.1 kB / 0.9924 GB, free: 6.594 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.01375, allocations: 4 kB / 0.9924 GB, free: 6.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.01376, allocations: 8.156 kB / 0.9924 GB, free: 6.582 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.01377, allocations: 0 / 0.9924 GB, free: 6.582 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.0139, allocations: 51.91 kB / 0.9925 GB, free: 6.531 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.01391, allocations: 4 kB / 0.9925 GB, free: 6.527 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/0.01398, allocations: 23.88 kB / 0.9925 GB, free: 6.504 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.014, allocations: 4 kB / 0.9925 GB, free: 6.5 MB / 0.948 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,dxSpeCon.not1.y,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,reaToInt.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.0001413/0.01414, allocations: 175.7 kB / 0.9927 GB, free: 6.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.01418, allocations: 35.77 kB / 0.9927 GB, free: 6.285 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.01455, allocations: 258.8 kB / 0.9929 GB, free: 6.027 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01456, allocations: 8 kB / 0.9929 GB, free: 6.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.01456, allocations: 0 / 0.9929 GB, free: 6.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.01457, allocations: 0 / 0.9929 GB, free: 6.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/0.01521, allocations: 0.642 MB / 0.9936 GB, free: 5.328 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01521, allocations: 0 / 0.9936 GB, free: 5.328 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.976e-05/0.01531, allocations: 31.98 kB / 0.9936 GB, free: 5.297 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01531, allocations: 0 / 0.9936 GB, free: 5.297 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.01533, allocations: 15.92 kB / 0.9936 GB, free: 5.281 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01533, allocations: 0 / 0.9936 GB, free: 5.281 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01533, allocations: 0 / 0.9936 GB, free: 5.281 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.0158, allocations: 439.5 kB / 0.994 GB, free: 4.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/0.01588, allocations: 59.62 kB / 0.9941 GB, free: 4.781 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.01591, allocations: 4 kB / 0.9941 GB, free: 4.777 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.091e-05/0.01599, allocations: 16.05 kB / 0.9941 GB, free: 4.762 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.01606, allocations: 27.84 kB / 0.9941 GB, free: 4.734 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.01608, allocations: 4 kB / 0.9941 GB, free: 4.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002291/0.01631, allocations: 307.1 kB / 0.9944 GB, free: 4.434 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01631, allocations: 0 / 0.9944 GB, free: 4.434 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002332/0.01654, allocations: 67.88 kB / 0.9945 GB, free: 4.367 MB / 0.948 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,reaToInt.y,cooMod.nextTimeEventScaled,cooMod.nextTimeEvent) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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.001467/0.01801, allocations: 1.302 MB / 0.9958 GB, free: 3.227 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003018/0.01831, allocations: 182.3 kB / 0.9959 GB, free: 3.051 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01831, allocations: 0 / 0.9959 GB, free: 3.051 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.01844, allocations: 87.89 kB / 0.996 GB, free: 2.965 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.01882, allocations: 97.66 kB / 0.9961 GB, free: 2.875 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.02197, allocations: 3.11 MB / 0.9992 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.02226, allocations: 199.1 kB / 0.9993 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000107/0.02236, allocations: 46.89 kB / 0.9994 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.0225, allocations: 136.5 kB / 0.9995 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.0225, allocations: 0 / 0.9995 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.04447, allocations: 8.707 MB / 1.008 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.04, allocations: 6.625 kB / 1.008 GB, free: 6.676 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --stepSize=0.144 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.991414968855679]