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.001529/0.001529, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.003434/0.003434, allocations: 159.2 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.646/1.646, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.865/2.865, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.934e-05, allocations: 2.281 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004658/0.004687, allocations: 2.708 MB / 0.9841 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002912/0.007599, allocations: 1.465 MB / 0.9855 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.007874, allocations: 15.88 kB / 0.9855 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.008391, allocations: 147.1 kB / 0.9856 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004738/0.008865, allocations: 194.8 kB / 0.9858 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006583/0.009523, allocations: 282.3 kB / 0.9861 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006352/0.01016, allocations: 0.4953 MB / 0.9866 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.01045, allocations: 119.1 kB / 0.9867 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/0.01089, allocations: 267.3 kB / 0.9869 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.01114, allocations: 155.5 kB / 0.9871 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.01122, allocations: 40 kB / 0.9871 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.01139, allocations: 91.84 kB / 0.9872 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.01152, allocations: 99.62 kB / 0.9873 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.01167, allocations: 111.6 kB / 0.9874 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007345/0.0124, allocations: 0.545 MB / 0.988 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.01241, allocations: 4 kB / 0.988 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.233e-06/0.01241, allocations: 0 / 0.988 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.01242, allocations: 0 / 0.988 GB, free: 5.266 MB / 0.9356 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.001212/0.01363, allocations: 0.6804 MB / 0.9886 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.01367, allocations: 8.031 kB / 0.9886 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.0139, allocations: 60.59 kB / 0.9887 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.01456, allocations: 354.8 kB / 0.989 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.01459, allocations: 20.88 kB / 0.989 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.01463, allocations: 24.38 kB / 0.9891 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.01521, allocations: 297 kB / 0.9894 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01522, allocations: 3.938 kB / 0.9894 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.01525, allocations: 12 kB / 0.9894 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.01526, allocations: 4 kB / 0.9894 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.01571, allocations: 193.9 kB / 0.9896 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.01703, allocations: 0.7215 MB / 0.9903 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/0.01781, allocations: 225 kB / 0.9905 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.01802, allocations: 84.81 kB / 0.9906 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.01804, allocations: 4 kB / 0.9906 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.01837, allocations: 143.2 kB / 0.9907 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.01837, allocations: 4 kB / 0.9907 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0007632/0.01913, allocations: 303.8 kB / 0.991 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.01919, allocations: 51.41 kB / 0.991 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.01971, allocations: 417.6 kB / 0.9914 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.01974, allocations: 29.7 kB / 0.9915 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.01994, allocations: 224.6 kB / 0.9917 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.02001, allocations: 67.44 kB / 0.9917 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.02009, allocations: 49.88 kB / 0.9918 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.02028, allocations: 354.8 kB / 0.9921 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.02047, allocations: 64.42 kB / 0.9922 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.02069, allocations: 118 kB / 0.9923 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.02111, allocations: 198.8 kB / 0.9925 GB, free: 404 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.02111, allocations: 0 / 0.9925 GB, free: 404 kB / 0.9356 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005827/0.02169, allocations: 261.2 kB / 0.9927 GB, free: 136 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.02171, allocations: 4 kB / 0.9927 GB, free: 132 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.02172, allocations: 4 kB / 0.9928 GB, free: 128 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.02173, allocations: 0 / 0.9928 GB, free: 128 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.02195, allocations: 48.06 kB / 0.9928 GB, free: 80 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.02196, allocations: 8 kB / 0.9928 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.02211, allocations: 27.83 kB / 0.9928 GB, free: 44 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.02213, allocations: 8 kB / 0.9928 GB, free: 36 kB / 0.9356 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.0002202/0.02235, allocations: 173.7 kB / 0.993 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.0224, allocations: 35.77 kB / 0.993 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006004/0.023, allocations: 247 kB / 0.9933 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.02301, allocations: 8 kB / 0.9933 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.02301, allocations: 3.984 kB / 0.9933 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.02302, allocations: 3.938 kB / 0.9933 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009867/0.02401, allocations: 0.5918 MB / 0.9939 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.02401, allocations: 0 / 0.9939 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.02419, allocations: 35.97 kB / 0.9939 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.0242, allocations: 3.984 kB / 0.9939 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.02422, allocations: 4 kB / 0.9939 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.02422, allocations: 4 kB / 0.9939 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02422, allocations: 0 / 0.9939 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008027/0.02503, allocations: 441.9 kB / 0.9943 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.02513, allocations: 55.77 kB / 0.9944 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.02518, allocations: 8 kB / 0.9944 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.02534, allocations: 4 kB / 0.9944 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.02542, allocations: 23.95 kB / 0.9944 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.02545, allocations: 8 kB / 0.9944 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003436/0.02579, allocations: 299.2 kB / 0.9947 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.02579, allocations: 0 / 0.9947 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003508/0.02614, allocations: 67.77 kB / 0.9948 GB, free: 13.98 MB / 0.9512 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.001666/0.02781, allocations: 442.8 kB / 0.9952 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004905/0.0283, allocations: 181.2 kB / 0.9954 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.0283, allocations: 4.312 kB / 0.9954 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.02852, allocations: 83.89 kB / 0.9955 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006256/0.02915, allocations: 93.27 kB / 0.9955 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.03047, allocations: 0.6261 MB / 0.9962 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.0307, allocations: 207 kB / 0.9964 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.03087, allocations: 50.92 kB / 0.9964 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.196e-05/0.03097, allocations: 28.5 kB / 0.9964 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of SimCode: time 5.82e-07/0.03097, allocations: 0 / 0.9964 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of Templates: time 0.009562/0.04053, allocations: 3.973 MB / 1 GB, free: 8.531 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 400] 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: 8.53102034702897]