Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_10_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.006183/0.006183, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001416/0.001416, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.435/2.435, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2519, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004235/0.2562, allocations: 2.84 MB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002573/0.2588, allocations: 1.348 MB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003669/0.2592, allocations: 11.94 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.2597, allocations: 147.2 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.2602, allocations: 147.2 kB / 1.171 GB, free: 2.789 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007356/0.2609, allocations: 303.1 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005826/0.2615, allocations: 479.5 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003497/0.2619, allocations: 202.7 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.2622, allocations: 187.2 kB / 1.172 GB, free: 1.641 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.2625, allocations: 203 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.2626, allocations: 36 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.2627, allocations: 79.98 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2629, allocations: 91.67 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.263, allocations: 190.8 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006022/0.2636, allocations: 0.5291 MB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2636, allocations: 0 / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2637, allocations: 0 / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.2637, allocations: 0 / 1.173 GB, free: 0.5195 MB / 0.92 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.001172/0.2648, allocations: 0.716 MB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.2649, allocations: 16.03 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.379e-05/0.265, allocations: 62.72 kB / 1.174 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.2651, allocations: 44.66 kB / 1.174 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006957/0.2658, allocations: 410.9 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.2658, allocations: 20.94 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.2659, allocations: 23.94 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.2664, allocations: 275.7 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.2665, allocations: 0 / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.2665, allocations: 15.98 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2665, allocations: 4 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.267, allocations: 186.1 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.2684, allocations: 0.8805 MB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/0.2691, allocations: 230.5 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.2694, allocations: 88.81 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.2694, allocations: 7.984 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.2697, allocations: 139.2 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.2697, allocations: 0 / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0007086/0.2704, allocations: 295.5 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.2705, allocations: 59.39 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004167/0.2709, allocations: 409.6 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.2709, allocations: 33.7 kB / 1.177 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.2711, allocations: 212.3 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.2712, allocations: 67.44 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.008e-05/0.2713, allocations: 57.92 kB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2714, allocations: 350.7 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.2716, allocations: 64.44 kB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.2718, allocations: 114.7 kB / 1.177 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.2722, allocations: 183.7 kB / 1.178 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2722, allocations: 0 / 1.178 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005177/0.2727, allocations: 273.1 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2727, allocations: 4 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2727, allocations: 4 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2728, allocations: 0 / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.273, allocations: 47.91 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.273, allocations: 4 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.2732, allocations: 23.98 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.2732, allocations: 11.98 kB / 1.178 GB, free: 10.98 MB / 0.9356 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.0001655/0.2734, allocations: 165.8 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.2734, allocations: 39.75 kB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.962e-05/0.2735, allocations: 39.59 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2735, allocations: 4 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2736, allocations: 0 / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2736, allocations: 7.922 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009482/0.2745, allocations: 0.6817 MB / 1.179 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2745, allocations: 0 / 1.179 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.2747, allocations: 35.97 kB / 1.179 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.2747, allocations: 0 / 1.179 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.2748, allocations: 7.938 kB / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2748, allocations: 0 / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2748, allocations: 0 / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007029/0.2755, allocations: 429.1 kB / 1.179 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2756, allocations: 132.8 kB / 1.179 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.2757, allocations: 12 kB / 1.179 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.2758, allocations: 7.984 kB / 1.179 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.2759, allocations: 19.97 kB / 1.179 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.2759, allocations: 11.94 kB / 1.179 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002859/0.2762, allocations: 299.2 kB / 1.18 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2762, allocations: 0 / 1.18 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003326/0.2766, allocations: 63.81 kB / 1.18 GB, free: 8.957 MB / 0.9356 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.001804/0.2784, allocations: 1.262 MB / 1.181 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004705/0.2789, allocations: 183.7 kB / 1.181 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2789, allocations: 0 / 1.181 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.2791, allocations: 87.91 kB / 1.181 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.2797, allocations: 102.7 kB / 1.181 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.2836, allocations: 3.083 MB / 1.184 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.284, allocations: 0.7912 MB / 1.185 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.2842, allocations: 46.94 kB / 1.185 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.2844, allocations: 131.3 kB / 1.185 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/0.2844, allocations: 0 / 1.185 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.312, allocations: 7.531 MB / 1.193 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.908, allocations: 16.53 kB / 1.193 GB, free: 11.95 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv --start-time 0 --stop-time 360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.144 Buildings_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches