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.001602/0.001602, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001809/0.001809, allocations: 211.9 kB / 22.99 MB, free: 4.984 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.115/3.115, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 66.39 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2863, allocations: 176.1 MB / 1.327 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004597/0.2909, allocations: 2.707 MB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002781/0.2937, allocations: 1.461 MB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.2939, allocations: 15.88 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.2944, allocations: 151.2 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.2949, allocations: 179 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.2955, allocations: 289.5 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005799/0.2961, allocations: 495.4 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.2963, allocations: 127.1 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.2967, allocations: 203.1 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.2969, allocations: 211 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.029e-05/0.297, allocations: 36 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.2971, allocations: 83.92 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.2973, allocations: 99.62 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.2974, allocations: 139.1 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006712/0.2981, allocations: 0.5407 MB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2981, allocations: 0 / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2981, allocations: 0 / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.2981, allocations: 0 / 1.334 GB, free: 10.38 MB / 1.029 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.0012/0.2993, allocations: 0.6933 MB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.2993, allocations: 8.031 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.2995, allocations: 60.59 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006914/0.3002, allocations: 355.6 kB / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.3002, allocations: 20.88 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.3003, allocations: 28.12 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005856/0.3009, allocations: 304.4 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3009, allocations: 0 / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.3009, allocations: 11.94 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3009, allocations: 8 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004589/0.3014, allocations: 185.8 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.3027, allocations: 0.7174 MB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007971/0.3035, allocations: 226.8 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.3037, allocations: 80.83 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.3038, allocations: 8 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003272/0.3041, allocations: 139.2 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.3041, allocations: 0 / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0007907/0.3049, allocations: 302.7 kB / 1.337 GB, free: 7.121 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.3049, allocations: 55.41 kB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/0.3054, allocations: 417.6 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.3055, allocations: 25.7 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.3056, allocations: 236.5 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.3057, allocations: 63.47 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.3058, allocations: 49.94 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.306, allocations: 346.8 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.3062, allocations: 72.42 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.3064, allocations: 122.6 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.3068, allocations: 190.9 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3068, allocations: 0 / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000574/0.3074, allocations: 259.5 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3074, allocations: 11.98 kB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3074, allocations: 4.156 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.3074, allocations: 4 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.3077, allocations: 47.91 kB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3077, allocations: 0 / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.3079, allocations: 19.89 kB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3079, allocations: 11.98 kB / 1.338 GB, free: 5.141 MB / 1.029 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.0001836/0.3081, allocations: 170.2 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.3081, allocations: 35.77 kB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006111/0.3087, allocations: 257 kB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.3087, allocations: 0 / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.3088, allocations: 0 / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3088, allocations: 3.984 kB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.3098, allocations: 0.5974 MB / 1.34 GB, free: 4.039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3098, allocations: 4 kB / 1.34 GB, free: 4.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.31, allocations: 35.92 kB / 1.34 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.31, allocations: 7.922 kB / 1.34 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.31, allocations: 4 kB / 1.34 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.31, allocations: 8 kB / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.31, allocations: 0 / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008227/0.3108, allocations: 432.7 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.311, allocations: 55.7 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.311, allocations: 4 kB / 1.34 GB, free: 3.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3112, allocations: 16.05 kB / 1.34 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.661e-05/0.3113, allocations: 19.91 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.3113, allocations: 11.98 kB / 1.34 GB, free: 3.438 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003393/0.3116, allocations: 291.2 kB / 1.34 GB, free: 3.156 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3116, allocations: 3.938 kB / 1.34 GB, free: 3.152 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003533/0.312, allocations: 67.84 kB / 1.34 GB, free: 3.086 MB / 1.029 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.001694/0.3137, allocations: 454.8 kB / 1.341 GB, free: 2.824 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004862/0.3142, allocations: 169.5 kB / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3142, allocations: 3.938 kB / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.3144, allocations: 95.83 kB / 1.341 GB, free: 2.562 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.315, allocations: 88.67 kB / 1.341 GB, free: 2.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3161, allocations: 0.6443 MB / 1.342 GB, free: 1.805 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.3164, allocations: 203 kB / 1.342 GB, free: 1.586 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.3165, allocations: 38.97 kB / 1.342 GB, free: 1.551 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.743e-05/0.3166, allocations: 31.42 kB / 1.342 GB, free: 1.52 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3166, allocations: 0 / 1.342 GB, free: 1.52 MB / 1.029 GB Notification: Performance of Templates: time 0.009642/0.3262, allocations: 4.345 MB / 1.346 GB, free: 13.26 MB / 1.045 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 -s gbode -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/jenkins1/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.312104576005368]