Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002309/0.002309, allocations: 190.4 kB / 16.25 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.78/2.78, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.528/4.528, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.003401/0.003401, allocations: 67.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512/1.516, allocations: 140.4 MB / 0.9492 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.009888/1.526, allocations: 2.86 MB / 0.952 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004634/1.531, allocations: 1.319 MB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/1.532, allocations: 11.84 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/1.533, allocations: 129.3 kB / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/1.534, allocations: 123.7 kB / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/1.536, allocations: 268.5 kB / 0.9538 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00142/1.537, allocations: 482 kB / 0.9543 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006928/1.538, allocations: 201.6 kB / 0.9545 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005975/1.538, allocations: 183.3 kB / 0.9547 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005218/1.539, allocations: 203.3 kB / 0.9549 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/1.539, allocations: 36.78 kB / 0.9549 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/1.539, allocations: 78.02 kB / 0.955 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002078/1.54, allocations: 88.03 kB / 0.955 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003822/1.54, allocations: 189.8 kB / 0.9552 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/1.541, allocations: 0.5142 MB / 0.9557 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/1.541, allocations: 7.938 kB / 0.9557 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.557e-06/1.541, allocations: 0 / 0.9557 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.77e-05/1.541, allocations: 1.438 kB / 0.9557 GB, free: 4.199 MB / 0.7169 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.002255/1.544, allocations: 0.6981 MB / 0.9564 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 8.504e-05/1.544, allocations: 9.125 kB / 0.9564 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/1.544, allocations: 69.94 kB / 0.9565 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/1.544, allocations: 47.66 kB / 0.9565 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009699/1.545, allocations: 401.9 kB / 0.9569 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/1.545, allocations: 23.42 kB / 0.9569 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/1.545, allocations: 23.88 kB / 0.957 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008951/1.546, allocations: 271.3 kB / 0.9572 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/1.546, allocations: 0 / 0.9572 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/1.546, allocations: 14.22 kB / 0.9572 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/1.546, allocations: 6.625 kB / 0.9572 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/1.547, allocations: 183.7 kB / 0.9574 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/1.549, allocations: 0.8755 MB / 0.9583 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/1.55, allocations: 230.3 kB / 0.9585 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/1.551, allocations: 88.81 kB / 0.9586 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.695e-05/1.551, allocations: 6.734 kB / 0.9586 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005807/1.551, allocations: 145.5 kB / 0.9587 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 3.436e-06/1.551, allocations: 0 / 0.9587 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001244/1.553, allocations: 294.5 kB / 0.959 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/1.553, allocations: 53.69 kB / 0.9591 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.554, allocations: 411 kB / 0.9595 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/1.554, allocations: 30.52 kB / 0.9595 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/1.554, allocations: 214.2 kB / 0.9597 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/1.554, allocations: 63.34 kB / 0.9597 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/1.555, allocations: 47.97 kB / 0.9598 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.555, allocations: 352 kB / 0.9601 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/1.555, allocations: 67.72 kB / 0.9602 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/1.555, allocations: 121.2 kB / 0.9603 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/1.556, allocations: 182.4 kB / 0.9605 GB, free: 440 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.556, allocations: 1.062 kB / 0.9605 GB, free: 440 kB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001115/1.557, allocations: 258.2 kB / 0.9607 GB, free: 296 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/1.557, allocations: 5.969 kB / 0.9607 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.557, allocations: 1.062 kB / 0.9607 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/1.557, allocations: 2.188 kB / 0.9607 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/1.558, allocations: 55.34 kB / 0.9608 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/1.558, allocations: 10.28 kB / 0.9608 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/1.558, allocations: 23.66 kB / 0.9608 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/1.558, allocations: 11.23 kB / 0.9608 GB, free: 248 kB / 0.7169 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.0003826/1.559, allocations: 175.4 kB / 0.961 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/1.559, allocations: 36.36 kB / 0.961 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/1.559, allocations: 39.84 kB / 0.9611 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/1.559, allocations: 5.906 kB / 0.9611 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/1.559, allocations: 4 kB / 0.9611 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/1.559, allocations: 1 kB / 0.9611 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/1.562, allocations: 0.6747 MB / 0.9617 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.562, allocations: 5.281 kB / 0.9617 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/1.562, allocations: 37.91 kB / 0.9618 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/1.562, allocations: 1.625 kB / 0.9618 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/1.562, allocations: 1.125 kB / 0.9618 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/1.562, allocations: 5.375 kB / 0.9618 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.562, allocations: 0 / 0.9618 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/1.564, allocations: 426.2 kB / 0.9622 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/1.564, allocations: 132.8 kB / 0.9623 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.977e-05/1.564, allocations: 5.406 kB / 0.9623 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/1.564, allocations: 12.11 kB / 0.9623 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.565, allocations: 19.59 kB / 0.9624 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/1.565, allocations: 8.938 kB / 0.9624 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006467/1.565, allocations: 291.7 kB / 0.9626 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.81e-07/1.565, allocations: 0 / 0.9626 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007149/1.566, allocations: 62.45 kB / 0.9627 GB, free: 14.82 MB / 0.7325 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.004563/1.571, allocations: 1.266 MB / 0.9639 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001069/1.572, allocations: 189 kB / 0.9641 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.572, allocations: 1.5 kB / 0.9641 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004606/1.572, allocations: 94.23 kB / 0.9642 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.573, allocations: 81.38 kB / 0.9643 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/1.585, allocations: 3.204 MB / 0.9674 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008351/1.586, allocations: 0.7995 MB / 0.9682 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004101/1.586, allocations: 49.97 kB / 0.9682 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/1.586, allocations: 132.2 kB / 0.9684 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of SimCode: time 1.613e-06/1.586, allocations: 0 / 0.9684 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/1.688, allocations: 7.27 MB / 0.9755 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006322/1.689, allocations: 265.8 kB / 0.9757 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.803/5.492, allocations: 0 / 0.9757 GB, free: 6.66 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches