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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008649/0.0008649, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008537/0.0008537, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8842/0.8842, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.74/1.74, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.914e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.002973/0.002992, allocations: 2.708 MB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.004606, allocations: 1.449 MB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.00479, allocations: 19.81 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.005162, allocations: 151.1 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.005473, allocations: 194.8 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.005871, allocations: 286.5 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004776/0.006349, allocations: 495.3 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.006543, allocations: 131 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.006812, allocations: 275.3 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.006982, allocations: 163.5 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.00702, allocations: 40 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.00712, allocations: 83.91 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.675e-05/0.007197, allocations: 95.62 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.717e-05/0.007274, allocations: 111.6 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.007709, allocations: 0.545 MB / 1.006 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.007711, allocations: 0 / 1.006 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.052e-06/0.007712, allocations: 0 / 1.006 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.007718, allocations: 0 / 1.006 GB, free: 6.77 MB / 0.9636 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.0007517/0.008469, allocations: 0.6788 MB / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.008513, allocations: 16.69 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/0.008562, allocations: 58.73 kB / 1.007 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.008682, allocations: 56.64 kB / 1.007 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.009083, allocations: 350.9 kB / 1.007 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.009102, allocations: 20.88 kB / 1.007 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.009131, allocations: 24.38 kB / 1.007 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.009459, allocations: 308.7 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.009467, allocations: 0 / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.009491, allocations: 12 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.009496, allocations: 4 kB / 1.008 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.00974, allocations: 185.9 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.01055, allocations: 0.7677 MB / 1.009 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.01097, allocations: 228.6 kB / 1.009 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.01108, allocations: 92.75 kB / 1.009 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.0111, allocations: 0 / 1.009 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.01128, allocations: 139.3 kB / 1.009 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 9.72e-07/0.01128, allocations: 0 / 1.009 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0004276/0.01171, allocations: 299.1 kB / 1.009 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.01174, allocations: 59.34 kB / 1.009 GB, free: 3.332 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.01203, allocations: 433.6 kB / 1.01 GB, free: 2.898 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.01205, allocations: 37.64 kB / 1.01 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.01216, allocations: 224.3 kB / 1.01 GB, free: 2.633 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.01219, allocations: 59.48 kB / 1.01 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.01225, allocations: 49.92 kB / 1.01 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.01234, allocations: 350.8 kB / 1.01 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.01244, allocations: 64.44 kB / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.01258, allocations: 122 kB / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.01281, allocations: 193 kB / 1.011 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.01281, allocations: 0 / 1.011 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002897/0.0131, allocations: 263.6 kB / 1.011 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.01312, allocations: 16.09 kB / 1.011 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.01312, allocations: 0 / 1.011 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.01313, allocations: 4 kB / 1.011 GB, free: 1.48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.01325, allocations: 47.91 kB / 1.011 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01325, allocations: 4 kB / 1.011 GB, free: 1.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.01333, allocations: 23.88 kB / 1.011 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.01334, allocations: 8 kB / 1.011 GB, free: 1.398 MB / 0.9636 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,dxSpeCon.not1.y,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,reaToInt.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.0002518/0.01359, allocations: 171.5 kB / 1.011 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.01362, allocations: 43.72 kB / 1.011 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.01395, allocations: 265 kB / 1.012 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01395, allocations: 0 / 1.012 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01395, allocations: 0 / 1.012 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01396, allocations: 0 / 1.012 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005884/0.01454, allocations: 0.6367 MB / 1.012 GB, free: 240 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.01455, allocations: 0 / 1.012 GB, free: 240 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.373e-05/0.01464, allocations: 39.91 kB / 1.012 GB, free: 200 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01464, allocations: 4 kB / 1.012 GB, free: 196 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01465, allocations: 4 kB / 1.012 GB, free: 192 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01466, allocations: 0 / 1.012 GB, free: 192 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01466, allocations: 0 / 1.012 GB, free: 192 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.01509, allocations: 445.9 kB / 1.013 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.01515, allocations: 55.7 kB / 1.013 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.01518, allocations: 8.062 kB / 1.013 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.638e-05/0.01526, allocations: 12 kB / 1.013 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.01531, allocations: 23.89 kB / 1.013 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.01532, allocations: 8 kB / 1.013 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002082/0.01553, allocations: 307.1 kB / 1.013 GB, free: 15.33 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.01553, allocations: 0 / 1.013 GB, free: 15.33 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002202/0.01575, allocations: 59.89 kB / 1.013 GB, free: 15.27 MB / 0.9792 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,reaToInt.y,cooMod.nextTimeEventScaled,cooMod.nextTimeEvent) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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.001247/0.017, allocations: 1.31 MB / 1.014 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.01728, allocations: 173.5 kB / 1.015 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01728, allocations: 0 / 1.015 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.01741, allocations: 87.89 kB / 1.015 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.01775, allocations: 99.86 kB / 1.015 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.02043, allocations: 3.127 MB / 1.018 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.02055, allocations: 191.1 kB / 1.018 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001092/0.02066, allocations: 46.95 kB / 1.018 GB, free: 10.28 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.02079, allocations: 132.5 kB / 1.018 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of SimCode: time 4.91e-07/0.02079, allocations: 0 / 1.018 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.04101, allocations: 8.685 MB / 1.027 GB, free: 1.609 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/6.981, allocations: 13.67 kB / 1.027 GB, free: 1.602 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv --start-time 0 --stop-time 360 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.144 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv. Warning: Get data of variable dxSpeCon.TMixAirSet from file Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv failed! Error: Could not read variable dxSpeCon.TMixAirMea in file Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv. Warning: Get data of variable dxSpeCon.TMixAirMea from file Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv failed! Error: Could not read variable dxSpeCon.cooMod in file Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv. Warning: Get data of variable dxSpeCon.cooMod from file Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv failed! Error: Could not read variable dxSpeCon.y in file Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv. Warning: Get data of variable dxSpeCon.y from file Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.05674743372947]