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.001484/0.001484, allocations: 114.1 kB / 17.16 MB, free: 5.895 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.002202/0.002202, allocations: 215 kB / 20.13 MB, free: 2.949 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.47/1.47, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.963/2.963, allocations: 0.49 GB / 0.7923 GB, free: 1.297 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: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="cs",version="2.0",platforms={"static"}) [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.002046/0.002046, allocations: 63.91 kB / 1.149 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9434/0.9455, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003856/0.9493, allocations: 2.869 MB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.9516, allocations: 1.529 MB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.9519, allocations: 16.62 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.9524, allocations: 152.3 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.9528, allocations: 184.9 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.9533, allocations: 288 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.9537, allocations: 491.5 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.9539, allocations: 130.9 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.9542, allocations: 208.8 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.9544, allocations: 199.4 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.31e-05/0.9545, allocations: 42.28 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.9547, allocations: 79.19 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.9548, allocations: 97.73 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.955, allocations: 189.7 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006085/0.9556, allocations: 0.5407 MB / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9556, allocations: 0 / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9556, allocations: 0 / 1.328 GB, free: 20.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.9556, allocations: 0.6562 kB / 1.328 GB, free: 20.34 MB / 1.061 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.00107/0.9567, allocations: 0.733 MB / 1.329 GB, free: 19.74 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.9567, allocations: 13.64 kB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.125e-05/0.9567, allocations: 6.719 kB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.702e-05/0.9568, allocations: 62.17 kB / 1.329 GB, free: 19.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.957, allocations: 63.92 kB / 1.329 GB, free: 19.65 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.9576, allocations: 419.8 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.9576, allocations: 22.69 kB / 1.33 GB, free: 19.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.9577, allocations: 26.78 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.9582, allocations: 271.7 kB / 1.33 GB, free: 19.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.9582, allocations: 0.9062 kB / 1.33 GB, free: 19.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.9583, allocations: 9.875 kB / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.9583, allocations: 10.53 kB / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.9588, allocations: 182.5 kB / 1.33 GB, free: 19.1 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.9603, allocations: 0.8735 MB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/0.9611, allocations: 215.4 kB / 1.331 GB, free: 18.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.9613, allocations: 86.84 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.9613, allocations: 3.672 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003263/0.9616, allocations: 145.2 kB / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.9616, allocations: 0 / 1.331 GB, free: 18.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0008037/0.9624, allocations: 289 kB / 1.332 GB, free: 18.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.9625, allocations: 54.47 kB / 1.332 GB, free: 18.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005069/0.963, allocations: 432.9 kB / 1.332 GB, free: 17.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.963, allocations: 27.36 kB / 1.332 GB, free: 17.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.9631, allocations: 221.8 kB / 1.332 GB, free: 17.69 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.9632, allocations: 65.55 kB / 1.332 GB, free: 17.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/0.9633, allocations: 52.95 kB / 1.332 GB, free: 17.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9634, allocations: 353.4 kB / 1.333 GB, free: 17.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.9636, allocations: 68.44 kB / 1.333 GB, free: 17.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.9638, allocations: 117.6 kB / 1.333 GB, free: 17.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.9642, allocations: 185 kB / 1.333 GB, free: 17.06 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.9642, allocations: 0 / 1.333 GB, free: 17.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005225/0.9647, allocations: 264.6 kB / 1.333 GB, free: 16.94 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.9647, allocations: 9.312 kB / 1.333 GB, free: 16.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.9647, allocations: 1.922 kB / 1.333 GB, free: 16.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.9647, allocations: 7.375 kB / 1.333 GB, free: 16.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.965, allocations: 46.56 kB / 1.333 GB, free: 16.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.965, allocations: 6.812 kB / 1.333 GB, free: 16.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.9651, allocations: 25.5 kB / 1.333 GB, free: 16.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.9652, allocations: 7.719 kB / 1.333 GB, free: 16.91 MB / 1.061 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,reaToInt.y,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEvent,dxSpeCon.not1.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.0001459/0.9653, allocations: 167.1 kB / 1.334 GB, free: 16.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.9654, allocations: 41.91 kB / 1.334 GB, free: 16.74 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.628e-05/0.9654, allocations: 45.39 kB / 1.334 GB, free: 16.71 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.9654, allocations: 2.891 kB / 1.334 GB, free: 16.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.9655, allocations: 4.688 kB / 1.334 GB, free: 16.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9655, allocations: 0.7969 kB / 1.334 GB, free: 16.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009899/0.9664, allocations: 0.683 MB / 1.334 GB, free: 16.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9665, allocations: 0.8125 kB / 1.334 GB, free: 16.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.9666, allocations: 28.81 kB / 1.334 GB, free: 16.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.9666, allocations: 9.062 kB / 1.334 GB, free: 16.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.9667, allocations: 11.45 kB / 1.334 GB, free: 16.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.9667, allocations: 1.031 kB / 1.334 GB, free: 16.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.9667, allocations: 0 / 1.334 GB, free: 16.23 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007616/0.9674, allocations: 423.3 kB / 1.335 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.9675, allocations: 136.5 kB / 1.335 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.9676, allocations: 6.547 kB / 1.335 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.9677, allocations: 10.5 kB / 1.335 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.9678, allocations: 18.2 kB / 1.335 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.9679, allocations: 6.625 kB / 1.335 GB, free: 15.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003867/0.9682, allocations: 303.5 kB / 1.335 GB, free: 15.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9682, allocations: 0 / 1.335 GB, free: 15.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003747/0.9686, allocations: 66.39 kB / 1.335 GB, free: 15.68 MB / 1.061 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,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,reaToInt.y) * 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.002432/0.971, allocations: 1.283 MB / 1.337 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005986/0.9716, allocations: 176.2 kB / 1.337 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9716, allocations: 0.5312 kB / 1.337 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.9719, allocations: 82.27 kB / 1.337 GB, free: 14.7 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.9725, allocations: 88.89 kB / 1.337 GB, free: 14.67 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.9764, allocations: 3.105 MB / 1.34 GB, free: 12.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.9767, allocations: 0.8035 MB / 1.341 GB, free: 11.99 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.9769, allocations: 45.19 kB / 1.341 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.977, allocations: 130.2 kB / 1.341 GB, free: 11.89 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.977, allocations: 4 kB / 1.341 GB, free: 11.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/1.01, allocations: 7.733 MB / 1.348 GB, free: 10.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.729/9.739, allocations: 8.203 kB / 1.348 GB, free: 10.85 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --stepSize=0.144 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 420.0] 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: 16.240557826997247]