Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009011/0.0009011, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001042/0.001042, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9087/0.9087, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.721/1.721, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.478e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003004/0.003019, allocations: 2.696 MB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.005133, allocations: 1.469 MB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.005426, allocations: 11.94 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.005882, allocations: 147.1 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.006314, allocations: 190.8 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.006799, allocations: 289.7 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.007244, allocations: 499.2 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.007468, allocations: 131.1 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.007785, allocations: 267.2 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.007973, allocations: 163.5 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.008013, allocations: 36 kB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.008138, allocations: 83.98 kB / 1.005 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.963e-05/0.008227, allocations: 99.61 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.489e-05/0.008312, allocations: 107.6 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.008815, allocations: 0.5567 MB / 1.006 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.008819, allocations: 0 / 1.006 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.864e-06/0.008821, allocations: 0 / 1.006 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.008827, allocations: 0 / 1.006 GB, free: 6.762 MB / 0.9636 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.0008569/0.009684, allocations: 0.6765 MB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.009726, allocations: 8.75 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.187e-05/0.009778, allocations: 62.72 kB / 1.007 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.009914, allocations: 52.66 kB / 1.007 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.01041, allocations: 354.9 kB / 1.007 GB, free: 5.551 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.01043, allocations: 16.88 kB / 1.007 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.01046, allocations: 28.38 kB / 1.007 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.01084, allocations: 300.8 kB / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.01085, allocations: 0 / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.01087, allocations: 12 kB / 1.008 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.01088, allocations: 12 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.01114, allocations: 181.9 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.01217, allocations: 0.7716 MB / 1.009 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.01268, allocations: 230.8 kB / 1.009 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.0128, allocations: 80.81 kB / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.01283, allocations: 11.94 kB / 1.009 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.01306, allocations: 133.4 kB / 1.009 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 2.405e-06/0.01307, allocations: 4 kB / 1.009 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.000509/0.01358, allocations: 311.2 kB / 1.009 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.01361, allocations: 55.41 kB / 1.009 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.01394, allocations: 429.5 kB / 1.01 GB, free: 2.891 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.01396, allocations: 29.7 kB / 1.01 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.01409, allocations: 220.3 kB / 1.01 GB, free: 2.637 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.01413, allocations: 63.47 kB / 1.01 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/0.01419, allocations: 53.92 kB / 1.01 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.01429, allocations: 350.8 kB / 1.01 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.0144, allocations: 72.42 kB / 1.011 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.01452, allocations: 122 kB / 1.011 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.01475, allocations: 195.4 kB / 1.011 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01476, allocations: 0 / 1.011 GB, free: 1.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003073/0.01506, allocations: 265.2 kB / 1.011 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.01508, allocations: 9.703 kB / 1.011 GB, free: 1.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.01509, allocations: 0 / 1.011 GB, free: 1.477 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.0151, allocations: 4 kB / 1.011 GB, free: 1.473 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.01523, allocations: 52.06 kB / 1.011 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.01524, allocations: 4 kB / 1.011 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.01531, allocations: 19.89 kB / 1.011 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.01533, allocations: 11.98 kB / 1.011 GB, free: 1.387 MB / 0.9636 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.0001359/0.01546, allocations: 166.3 kB / 1.011 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.0155, allocations: 39.72 kB / 1.011 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.01585, allocations: 257.1 kB / 1.012 GB, free: 0.9219 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01586, allocations: 7.938 kB / 1.012 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01586, allocations: 0 / 1.012 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.01586, allocations: 3.984 kB / 1.012 GB, free: 0.9102 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.0165, allocations: 0.6366 MB / 1.012 GB, free: 232 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01651, allocations: 0 / 1.012 GB, free: 232 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.01661, allocations: 31.97 kB / 1.012 GB, free: 200 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01661, allocations: 0 / 1.012 GB, free: 200 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.01663, allocations: 8 kB / 1.012 GB, free: 192 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01663, allocations: 4 kB / 1.012 GB, free: 188 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01663, allocations: 0 / 1.012 GB, free: 188 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/0.01711, allocations: 445.9 kB / 1.013 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-05/0.01719, allocations: 63.7 kB / 1.013 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.01722, allocations: 0 / 1.013 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.0173, allocations: 11.98 kB / 1.013 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.01735, allocations: 23.91 kB / 1.013 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.01737, allocations: 4.062 kB / 1.013 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002179/0.01759, allocations: 315.1 kB / 1.013 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.81e-07/0.01759, allocations: 0 / 1.013 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002463/0.01784, allocations: 59.89 kB / 1.013 GB, free: 15.27 MB / 0.9792 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.001339/0.01918, allocations: 1.308 MB / 1.014 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003116/0.01949, allocations: 183.7 kB / 1.015 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01949, allocations: 0 / 1.015 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.01962, allocations: 85.77 kB / 1.015 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.02001, allocations: 97.91 kB / 1.015 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.02298, allocations: 3.119 MB / 1.018 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.02312, allocations: 199.1 kB / 1.018 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001447/0.02327, allocations: 42.97 kB / 1.018 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.02342, allocations: 132.4 kB / 1.018 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of SimCode: time 1.453e-06/0.02342, allocations: 0 / 1.018 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.04532, allocations: 8.692 MB / 1.027 GB, free: 1.602 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/6.943, allocations: 10.92 kB / 1.027 GB, free: 1.594 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --stepSize=0.144 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.960209061391652]