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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.344 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.311/2.311, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 71.88 kB / 1.059 GB, free: 0.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2612, allocations: 160.7 MB / 1.216 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004191/0.2654, allocations: 2.882 MB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.2677, allocations: 1.379 MB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.268, allocations: 8 kB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004381/0.2684, allocations: 151.1 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.2688, allocations: 139.2 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006656/0.2695, allocations: 311 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005599/0.27, allocations: 483.4 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.2703, allocations: 126.5 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.2705, allocations: 191.2 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.2708, allocations: 203 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.246e-05/0.2709, allocations: 36 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.271, allocations: 79.97 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2711, allocations: 95.62 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.2713, allocations: 186.9 kB / 1.222 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006049/0.2719, allocations: 0.5251 MB / 1.222 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2719, allocations: 7.984 kB / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.71e-07/0.2719, allocations: 0 / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.2719, allocations: 0 / 1.222 GB, free: 9.133 MB / 0.9669 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.001082/0.273, allocations: 0.7238 MB / 1.223 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.273, allocations: 11.97 kB / 1.223 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.447e-05/0.2731, allocations: 58.73 kB / 1.223 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.587e-05/0.2732, allocations: 56.64 kB / 1.223 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.2738, allocations: 403 kB / 1.223 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.2738, allocations: 12.94 kB / 1.223 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.2738, allocations: 31.88 kB / 1.223 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.2743, allocations: 275.7 kB / 1.224 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.2744, allocations: 0 / 1.224 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.2744, allocations: 12 kB / 1.224 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2744, allocations: 4 kB / 1.224 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.2748, allocations: 182.2 kB / 1.224 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.2761, allocations: 0.8843 MB / 1.225 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/0.2768, allocations: 211 kB / 1.225 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.277, allocations: 88.81 kB / 1.225 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.277, allocations: 4 kB / 1.225 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.2773, allocations: 135.3 kB / 1.225 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.2773, allocations: 0 / 1.225 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0006913/0.278, allocations: 295.3 kB / 1.225 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.278, allocations: 55.41 kB / 1.225 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.2784, allocations: 417.6 kB / 1.226 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.2785, allocations: 29.7 kB / 1.226 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.2786, allocations: 220.3 kB / 1.226 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.2787, allocations: 63.44 kB / 1.226 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.2788, allocations: 49.92 kB / 1.226 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2789, allocations: 354.7 kB / 1.227 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.2791, allocations: 68.44 kB / 1.227 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.2793, allocations: 114 kB / 1.227 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/0.2797, allocations: 191 kB / 1.227 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2797, allocations: 0 / 1.227 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005033/0.2802, allocations: 261.2 kB / 1.227 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2802, allocations: 14.02 kB / 1.227 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2802, allocations: 0 / 1.227 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2802, allocations: 4 kB / 1.227 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.2804, allocations: 43.97 kB / 1.227 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2804, allocations: 3.938 kB / 1.227 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.2806, allocations: 23.83 kB / 1.227 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.2806, allocations: 12 kB / 1.227 GB, free: 3.613 MB / 0.9669 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.0001651/0.2808, allocations: 162 kB / 1.227 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.2808, allocations: 51.64 kB / 1.227 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.2813, allocations: 237.1 kB / 1.228 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.2813, allocations: 4 kB / 1.228 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2813, allocations: 3.938 kB / 1.228 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.2813, allocations: 4 kB / 1.228 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009278/0.2823, allocations: 0.6883 MB / 1.228 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2823, allocations: 0 / 1.228 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.2824, allocations: 27.97 kB / 1.228 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.2825, allocations: 7.938 kB / 1.228 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.2825, allocations: 4 kB / 1.228 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2825, allocations: 0 / 1.228 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2825, allocations: 0 / 1.228 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007261/0.2832, allocations: 431.1 kB / 1.229 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.2833, allocations: 132.8 kB / 1.229 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.2834, allocations: 4 kB / 1.229 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.2835, allocations: 15.92 kB / 1.229 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.2836, allocations: 23.92 kB / 1.229 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.2836, allocations: 4 kB / 1.229 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003093/0.2839, allocations: 299.2 kB / 1.229 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2839, allocations: 0 / 1.229 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003155/0.2842, allocations: 63.88 kB / 1.229 GB, free: 1.383 MB / 0.9669 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.002256/0.2865, allocations: 1.276 MB / 1.231 GB, free: 248 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004295/0.2869, allocations: 170.8 kB / 1.231 GB, free: 80 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2869, allocations: 0 / 1.231 GB, free: 80 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.2871, allocations: 83.94 kB / 1.231 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.2876, allocations: 88.22 kB / 1.231 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.2915, allocations: 3.081 MB / 1.234 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.2919, allocations: 0.795 MB / 1.235 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00014/0.2921, allocations: 46.94 kB / 1.235 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.2922, allocations: 131.3 kB / 1.235 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.2922, allocations: 0 / 1.235 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.3252, allocations: 7.558 MB / 1.242 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.832, allocations: 5.656 kB / 1.242 GB, free: 4.25 MB / 0.9825 GB " [Timeout remaining time 292] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "Error: Could not read variable dxSpeCon.TMixAirSet in file Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv. Warning: Get data of variable dxSpeCon.TMixAirSet from file Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv failed! Error: Could not read variable dxSpeCon.TMixAirMea in file Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv. Warning: Get data of variable dxSpeCon.TMixAirMea from file Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv failed! Error: Could not read variable dxSpeCon.cooMod in file Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv. Warning: Get data of variable dxSpeCon.cooMod from file Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv failed! Error: Could not read variable dxSpeCon.y in file Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv. Warning: Get data of variable dxSpeCon.y from file Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.044084244997066]