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.001369/0.001369, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001568/0.001568, allocations: 216 kB / 23.01 MB, free: 4.566 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.181/3.181, allocations: 0.49 GB / 0.7958 GB, free: 33.32 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.00209/0.00209, allocations: 69.92 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3271, allocations: 176.1 MB / 1.327 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.006405/0.3335, allocations: 2.89 MB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004021/0.3375, allocations: 1.551 MB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.3379, allocations: 15.88 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.3385, allocations: 151.1 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000644/0.3392, allocations: 179 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009321/0.3401, allocations: 284.8 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000803/0.3409, allocations: 499.4 kB / 1.333 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.3413, allocations: 127.1 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.3418, allocations: 207.1 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.3421, allocations: 211 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.012e-05/0.3422, allocations: 36 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.3424, allocations: 79.98 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.3426, allocations: 103.5 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.3428, allocations: 186.9 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009719/0.3438, allocations: 0.5407 MB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3438, allocations: 4 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3438, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.3438, allocations: 4 kB / 1.334 GB, free: 10.35 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.001567/0.3454, allocations: 0.6765 MB / 1.335 GB, free: 9.641 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.3454, allocations: 12.03 kB / 1.335 GB, free: 9.629 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.3457, allocations: 68.59 kB / 1.335 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009606/0.3467, allocations: 347.7 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.3467, allocations: 20.81 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.435e-05/0.3468, allocations: 28.12 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007795/0.3476, allocations: 274.8 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3476, allocations: 0 / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.3476, allocations: 8 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3476, allocations: 11.94 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006676/0.3483, allocations: 177.9 kB / 1.336 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.3504, allocations: 0.8454 MB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.3515, allocations: 218.9 kB / 1.337 GB, free: 7.555 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.3518, allocations: 84.83 kB / 1.337 GB, free: 7.469 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.3518, allocations: 11.97 kB / 1.337 GB, free: 7.457 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.3523, allocations: 140.6 kB / 1.337 GB, free: 7.309 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.405e-06/0.3523, allocations: 0 / 1.337 GB, free: 7.309 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001109/0.3534, allocations: 298.6 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.3534, allocations: 55.41 kB / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007562/0.3542, allocations: 429.5 kB / 1.338 GB, free: 6.516 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.3542, allocations: 29.7 kB / 1.338 GB, free: 6.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.3545, allocations: 220.3 kB / 1.338 GB, free: 6.262 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/0.3546, allocations: 63.52 kB / 1.338 GB, free: 6.199 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.3547, allocations: 45.94 kB / 1.338 GB, free: 6.148 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00025/0.355, allocations: 354.7 kB / 1.338 GB, free: 5.793 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.3552, allocations: 68.42 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.3556, allocations: 123 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005569/0.3561, allocations: 192.2 kB / 1.339 GB, free: 5.387 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3561, allocations: 3.938 kB / 1.339 GB, free: 5.383 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007327/0.3569, allocations: 265.2 kB / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3569, allocations: 4 kB / 1.339 GB, free: 5.113 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3569, allocations: 0 / 1.339 GB, free: 5.113 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.3569, allocations: 4 kB / 1.339 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.3572, allocations: 47.91 kB / 1.339 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3573, allocations: 0 / 1.339 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.3575, allocations: 31.75 kB / 1.339 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.3575, allocations: 15.94 kB / 1.339 GB, free: 5.016 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.0002911/0.3578, allocations: 171 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.813e-05/0.3579, allocations: 39.72 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008205/0.3587, allocations: 246.8 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3587, allocations: 0 / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3587, allocations: 4 kB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.3588, allocations: 7.922 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.3603, allocations: 0.6573 MB / 1.34 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3603, allocations: 0 / 1.34 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.3605, allocations: 23.98 kB / 1.34 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.3605, allocations: 11.98 kB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.3606, allocations: 7.938 kB / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.3606, allocations: 0 / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3606, allocations: 0 / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.3617, allocations: 428.8 kB / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.3619, allocations: 55.7 kB / 1.341 GB, free: 3.309 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.3619, allocations: 0 / 1.341 GB, free: 3.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.3622, allocations: 11.98 kB / 1.341 GB, free: 3.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.3623, allocations: 19.97 kB / 1.341 GB, free: 3.277 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.3623, allocations: 4.062 kB / 1.341 GB, free: 3.273 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005469/0.3628, allocations: 311.1 kB / 1.341 GB, free: 2.973 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3628, allocations: 0 / 1.341 GB, free: 2.973 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006447/0.3635, allocations: 67.78 kB / 1.341 GB, free: 2.906 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 (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.00211/0.3656, allocations: 425.5 kB / 1.341 GB, free: 2.645 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007168/0.3663, allocations: 172.7 kB / 1.342 GB, free: 2.477 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3663, allocations: 0 / 1.342 GB, free: 2.477 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.3666, allocations: 81.8 kB / 1.342 GB, free: 2.398 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/0.3675, allocations: 85.61 kB / 1.342 GB, free: 2.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3694, allocations: 0.6825 MB / 1.342 GB, free: 1.598 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.3701, allocations: 0.7951 MB / 1.343 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.3702, allocations: 31.42 kB / 1.343 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/0.3702, allocations: 4 kB / 1.343 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of Templates: time 0.01275/0.383, allocations: 4.808 MB / 1.348 GB, free: 11.95 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 -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: 12.039226253022207]