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.001705/0.001705, 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.001925/0.001925, allocations: 207.7 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.269/3.269, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] 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.002066/0.002066, allocations: 70.67 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3783, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005073/0.3834, allocations: 2.715 MB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002995/0.3864, allocations: 1.454 MB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.3867, allocations: 19.88 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005511/0.3872, allocations: 147.2 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004668/0.3877, allocations: 187 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.3883, allocations: 281.4 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.3889, allocations: 0.4916 MB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.3892, allocations: 119.2 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.3896, allocations: 211.1 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.3899, allocations: 203 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.3899, allocations: 36 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.3901, allocations: 87.97 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.3902, allocations: 99.62 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.3904, allocations: 135.1 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007573/0.3911, allocations: 0.5485 MB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3911, allocations: 0 / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3912, allocations: 0 / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3912, allocations: 4 kB / 1.334 GB, free: 10.3 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.001248/0.3924, allocations: 0.6804 MB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3924, allocations: 8.031 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.3927, allocations: 56.61 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.3934, allocations: 359.6 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.3934, allocations: 16.88 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.3935, allocations: 28.12 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.3941, allocations: 300.4 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3941, allocations: 0 / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.3941, allocations: 8 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3941, allocations: 11.94 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.3946, allocations: 189.8 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.3959, allocations: 0.7213 MB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007954/0.3967, allocations: 228.7 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.3969, allocations: 92.8 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.397, allocations: 4 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003342/0.3973, allocations: 135.3 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.654e-06/0.3973, allocations: 0 / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0007822/0.3981, allocations: 300.6 kB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.3981, allocations: 55.41 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/0.3986, allocations: 417.6 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.3987, allocations: 29.7 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.3989, allocations: 220.6 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/0.3989, allocations: 71.45 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.399, allocations: 53.88 kB / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.3992, allocations: 346.8 kB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.3994, allocations: 68.42 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.3997, allocations: 126.6 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.4001, allocations: 195.1 kB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4001, allocations: 0 / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005411/0.4006, allocations: 259.4 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4006, allocations: 12 kB / 1.338 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4006, allocations: 0 / 1.338 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4006, allocations: 4 kB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.4009, allocations: 51.91 kB / 1.338 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4009, allocations: 0 / 1.338 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.401, allocations: 15.89 kB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.4011, allocations: 15.98 kB / 1.338 GB, free: 5.07 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.0002059/0.4013, allocations: 175.9 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.4013, allocations: 39.77 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005935/0.4019, allocations: 245 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4019, allocations: 0 / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4019, allocations: 0 / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.4019, allocations: 3.984 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.403, allocations: 0.6016 MB / 1.34 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.403, allocations: 8 kB / 1.34 GB, free: 3.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.4031, allocations: 31.91 kB / 1.34 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4032, allocations: 4 kB / 1.34 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.4032, allocations: 7.938 kB / 1.34 GB, free: 3.918 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.4032, allocations: 4 kB / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4032, allocations: 0 / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000792/0.404, allocations: 432.3 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.4041, allocations: 51.72 kB / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.4041, allocations: 16.05 kB / 1.34 GB, free: 3.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.4043, allocations: 4 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.4044, allocations: 19.91 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.4044, allocations: 15.98 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003503/0.4047, allocations: 291.2 kB / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4047, allocations: 0 / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003607/0.4051, allocations: 75.77 kB / 1.34 GB, free: 3.016 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.001737/0.4068, allocations: 454.3 kB / 1.341 GB, free: 2.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005018/0.4073, allocations: 169.5 kB / 1.341 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4073, allocations: 0 / 1.341 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.4076, allocations: 91.83 kB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.4081, allocations: 91.33 kB / 1.341 GB, free: 2.418 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.4094, allocations: 0.6458 MB / 1.342 GB, free: 1.738 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.4097, allocations: 199 kB / 1.342 GB, free: 1.523 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.4098, allocations: 46.95 kB / 1.342 GB, free: 1.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/0.4099, allocations: 31.44 kB / 1.342 GB, free: 1.449 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.4099, allocations: 0 / 1.342 GB, free: 1.449 MB / 1.029 GB Notification: Performance of Templates: time 0.01007/0.42, allocations: 4.337 MB / 1.346 GB, free: 13.19 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 cvode -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: 9.167167696999968]