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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001278/0.001278, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.467/2.467, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.36 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2473, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004108/0.2515, allocations: 2.847 MB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.2537, allocations: 1.348 MB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.254, allocations: 11.94 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.2545, allocations: 143.2 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.2549, allocations: 139.2 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.2556, allocations: 306 kB / 1.058 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005311/0.2561, allocations: 475.4 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.2564, allocations: 210.7 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.2567, allocations: 179.2 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.257, allocations: 199.1 kB / 1.059 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.274e-05/0.257, allocations: 40 kB / 1.059 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.2572, allocations: 71.98 kB / 1.059 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.2573, allocations: 95.58 kB / 1.059 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.2575, allocations: 186.9 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.2581, allocations: 0.5139 MB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2581, allocations: 0 / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2581, allocations: 4 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.2581, allocations: 0 / 1.059 GB, free: 1.523 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.001073/0.2592, allocations: 0.7009 MB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2592, allocations: 12.62 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.468e-05/0.2593, allocations: 62.72 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.2594, allocations: 48.38 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.2599, allocations: 394.6 kB / 1.061 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2599, allocations: 20.94 kB / 1.061 GB, free: 204 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.26, allocations: 27.94 kB / 1.061 GB, free: 176 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.2605, allocations: 279.6 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2605, allocations: 0 / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.2605, allocations: 12 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2606, allocations: 8 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.261, allocations: 178.2 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.2622, allocations: 0.8802 MB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.2629, allocations: 227 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.2631, allocations: 92.72 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2632, allocations: 3.938 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.2635, allocations: 135.3 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.734e-06/0.2635, allocations: 4 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006699/0.2642, allocations: 288.5 kB / 1.063 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.2642, allocations: 59.41 kB / 1.063 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.2646, allocations: 409.7 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2647, allocations: 37.64 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.2648, allocations: 216 kB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.2649, allocations: 63.19 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/0.2649, allocations: 53.84 kB / 1.064 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.2651, allocations: 350.7 kB / 1.064 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.2652, allocations: 72.42 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.2654, allocations: 110.8 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.2658, allocations: 187.5 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.2658, allocations: 8 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004884/0.2663, allocations: 249.1 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2663, allocations: 5.562 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2664, allocations: 4 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2664, allocations: 3.984 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.2666, allocations: 55.84 kB / 1.065 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2666, allocations: 4.156 kB / 1.065 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.2668, allocations: 31.67 kB / 1.065 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.2668, allocations: 8 kB / 1.065 GB, free: 12.02 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.0001569/0.267, allocations: 173.3 kB / 1.065 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.267, allocations: 35.53 kB / 1.065 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.141e-05/0.2671, allocations: 39.59 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2671, allocations: 4 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2671, allocations: 0 / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.2671, allocations: 11.92 kB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008816/0.268, allocations: 0.6738 MB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.268, allocations: 0 / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.2682, allocations: 27.98 kB / 1.066 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2682, allocations: 0 / 1.066 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.2683, allocations: 15.92 kB / 1.066 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2683, allocations: 3.938 kB / 1.066 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2683, allocations: 4 kB / 1.066 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006777/0.2689, allocations: 420.8 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.2691, allocations: 132.6 kB / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.2691, allocations: 0 / 1.066 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.2693, allocations: 11.98 kB / 1.066 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.2694, allocations: 20.05 kB / 1.066 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.2694, allocations: 7.984 kB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002746/0.2697, allocations: 299.1 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2697, allocations: 0 / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000321/0.27, allocations: 63.75 kB / 1.066 GB, free: 10.01 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.001682/0.2717, allocations: 1.265 MB / 1.068 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004587/0.2722, allocations: 189.6 kB / 1.068 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2722, allocations: 0 / 1.068 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.2724, allocations: 96.2 kB / 1.068 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.2729, allocations: 86.14 kB / 1.068 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.2766, allocations: 3.093 MB / 1.071 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.2769, allocations: 0.7951 MB / 1.072 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000165/0.2771, allocations: 46.89 kB / 1.072 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.2773, allocations: 135.4 kB / 1.072 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2773, allocations: 0 / 1.072 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.268/1.546, allocations: 7.412 MB / 1.079 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/9.46, allocations: 1.844 kB / 1.079 GB, free: 13.08 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