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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001005/0.001005, allocations: 195 kB / 16.14 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 1.224/1.224, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.504/2.504, allocations: 461.9 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.52 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.252, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003926/0.2559, allocations: 2.879 MB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.258, allocations: 1.325 MB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.2583, allocations: 11.94 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.2587, allocations: 123.5 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.2591, allocations: 119.5 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.2596, allocations: 270 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.2601, allocations: 443.4 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.2604, allocations: 202.7 kB / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.2606, allocations: 159.1 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.2608, allocations: 175.1 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.2609, allocations: 20 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.261, allocations: 59.97 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.187e-05/0.2611, allocations: 71.62 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.2612, allocations: 166.9 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.2617, allocations: 490.4 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2617, allocations: 4 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2617, allocations: 0 / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.2617, allocations: 0 / 1.059 GB, free: 1.711 MB / 0.8106 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.001023/0.2627, allocations: 0.7127 MB / 1.059 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2628, allocations: 8.031 kB / 1.059 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.307e-05/0.2628, allocations: 54.73 kB / 1.059 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.317e-05/0.2629, allocations: 52.31 kB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.2634, allocations: 398.6 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.2635, allocations: 20.94 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.2635, allocations: 27.94 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.264, allocations: 275.7 kB / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.264, allocations: 0 / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.264, allocations: 8 kB / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.264, allocations: 8 kB / 1.06 GB, free: 56 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.2644, allocations: 190 kB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.2657, allocations: 0.8842 MB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.2663, allocations: 224.4 kB / 1.061 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.2665, allocations: 96.72 kB / 1.061 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.2666, allocations: 8 kB / 1.061 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003166/0.2669, allocations: 133.2 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.833e-06/0.2669, allocations: 3.938 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006387/0.2676, allocations: 285.9 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.2676, allocations: 59.41 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.268, allocations: 409.7 kB / 1.062 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.268, allocations: 29.7 kB / 1.062 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.2681, allocations: 220 kB / 1.062 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.2682, allocations: 59.19 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-05/0.2683, allocations: 53.83 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2684, allocations: 354.7 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.2686, allocations: 64.44 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.2688, allocations: 125.9 kB / 1.063 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.2691, allocations: 184.4 kB / 1.063 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2691, allocations: 0 / 1.063 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004731/0.2696, allocations: 257.1 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2696, allocations: 12.14 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2696, allocations: 4 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2697, allocations: 4 kB / 1.064 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.2699, allocations: 47.91 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2699, allocations: 0 / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.27, allocations: 27.69 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.2701, allocations: 8 kB / 1.064 GB, free: 12.2 MB / 0.8262 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.0001594/0.2702, allocations: 170.6 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.2703, allocations: 39.53 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/0.2704, allocations: 43.58 kB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.2704, allocations: 0 / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2704, allocations: 0 / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2704, allocations: 11.92 kB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008406/0.2712, allocations: 0.6791 MB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2712, allocations: 0 / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.2714, allocations: 35.97 kB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2714, allocations: 0 / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.2714, allocations: 11.94 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2715, allocations: 3.938 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2715, allocations: 0 / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/0.2721, allocations: 420.2 kB / 1.065 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-05/0.2722, allocations: 128.7 kB / 1.065 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.2723, allocations: 8 kB / 1.065 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.2724, allocations: 11.98 kB / 1.065 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.2725, allocations: 15.97 kB / 1.065 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.2725, allocations: 8 kB / 1.065 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002705/0.2728, allocations: 291.2 kB / 1.065 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2728, allocations: 0 / 1.065 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000313/0.2731, allocations: 71.67 kB / 1.066 GB, free: 10.18 MB / 0.8262 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.001697/0.2748, allocations: 1.261 MB / 1.067 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004074/0.2752, allocations: 183.8 kB / 1.067 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2753, allocations: 0 / 1.067 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.2755, allocations: 87.91 kB / 1.067 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.276, allocations: 79.78 kB / 1.067 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/0.2799, allocations: 3.202 MB / 1.07 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.2802, allocations: 0.7993 MB / 1.071 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001636/0.2804, allocations: 46.94 kB / 1.071 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.2805, allocations: 123.4 kB / 1.071 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of SimCode: time 6.31e-07/0.2806, allocations: 0 / 1.071 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.2972, allocations: 7.099 MB / 1.078 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/0.2975, allocations: 281.5 kB / 1.078 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.029, allocations: 0 / 1.078 GB, free: 13.13 MB / 0.8419 GB (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 --timeout=50 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches