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.001522/0.001522, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001635/0.001635, allocations: 214 kB / 22.24 MB, free: 5.262 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.805 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.415/3.415, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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.002088/0.002088, allocations: 70.52 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3356, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.00481/0.3404, allocations: 2.707 MB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00282/0.3432, allocations: 1.469 MB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/0.3435, allocations: 15.88 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005089/0.344, allocations: 143.1 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004724/0.3445, allocations: 191 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006229/0.3451, allocations: 279.2 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005575/0.3456, allocations: 499.3 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.3459, allocations: 119.2 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.3462, allocations: 199.2 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.3465, allocations: 191 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.348e-05/0.3466, allocations: 36 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.3468, allocations: 83.97 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.3469, allocations: 99.62 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.3471, allocations: 143.1 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006764/0.3478, allocations: 0.5485 MB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3478, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3478, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3478, allocations: 0 / 1.332 GB, free: 11.2 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.001196/0.349, allocations: 0.6843 MB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.349, allocations: 12.03 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.3492, allocations: 56.61 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.3499, allocations: 347.7 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.3499, allocations: 24.8 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.3499, allocations: 28.12 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.3505, allocations: 308.4 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3505, allocations: 0 / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.3505, allocations: 11.94 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.3506, allocations: 12 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.351, allocations: 177.9 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3523, allocations: 0.7213 MB / 1.334 GB, free: 8.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.3531, allocations: 230.8 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.3533, allocations: 84.81 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3533, allocations: 4 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003185/0.3536, allocations: 137.6 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.3536, allocations: 0 / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0007474/0.3544, allocations: 302.8 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.3544, allocations: 59.34 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/0.3549, allocations: 417.6 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.355, allocations: 29.7 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.3551, allocations: 220.6 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.684e-05/0.3552, allocations: 67.45 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.3553, allocations: 49.94 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3554, allocations: 346.8 kB / 1.336 GB, free: 6.746 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.3556, allocations: 76.42 kB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.3559, allocations: 118.7 kB / 1.336 GB, free: 6.539 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.3563, allocations: 191 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3563, allocations: 0 / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00054/0.3568, allocations: 267.4 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3568, allocations: 8 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3569, allocations: 0 / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3569, allocations: 4 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.3571, allocations: 47.91 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3571, allocations: 0 / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.3573, allocations: 27.98 kB / 1.337 GB, free: 5.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.3573, allocations: 11.98 kB / 1.337 GB, free: 5.973 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.0001859/0.3575, allocations: 171.5 kB / 1.337 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.3575, allocations: 43.75 kB / 1.337 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006336/0.3582, allocations: 245 kB / 1.337 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3582, allocations: 4 kB / 1.337 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3582, allocations: 0 / 1.337 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.3582, allocations: 7.984 kB / 1.337 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009977/0.3592, allocations: 0.5975 MB / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3592, allocations: 0 / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.3594, allocations: 31.97 kB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.3594, allocations: 4 kB / 1.338 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.3594, allocations: 4 kB / 1.338 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3594, allocations: 0 / 1.338 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3594, allocations: 4 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008178/0.3602, allocations: 445.5 kB / 1.338 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.3603, allocations: 55.72 kB / 1.338 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.3604, allocations: 3.984 kB / 1.338 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3605, allocations: 8 kB / 1.338 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.3606, allocations: 23.91 kB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.3606, allocations: 7.984 kB / 1.339 GB, free: 4.277 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000338/0.361, allocations: 295.2 kB / 1.339 GB, free: 3.992 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/0.361, allocations: 0 / 1.339 GB, free: 3.992 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000356/0.3613, allocations: 67.91 kB / 1.339 GB, free: 3.926 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.001699/0.363, allocations: 454.5 kB / 1.339 GB, free: 3.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004777/0.3635, allocations: 163.9 kB / 1.339 GB, free: 3.496 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3635, allocations: 0 / 1.339 GB, free: 3.496 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.3637, allocations: 98.02 kB / 1.34 GB, free: 3.402 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.3643, allocations: 101.7 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.3655, allocations: 0.6418 MB / 1.34 GB, free: 2.637 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.3657, allocations: 203 kB / 1.34 GB, free: 2.418 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001593/0.3659, allocations: 50.94 kB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-05/0.366, allocations: 27.44 kB / 1.341 GB, free: 2.344 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.366, allocations: 0 / 1.341 GB, free: 2.344 MB / 1.029 GB Notification: Performance of Templates: time 0.00954/0.3755, allocations: 4.28 MB / 1.345 GB, free: 14.14 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/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: 9.089973986148834]