Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009391/0.0009391, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.000879/0.000879, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.8687/0.8687, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.786/1.786, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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_13_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_13_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.088e-05, allocations: 10.16 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003549/0.00357, allocations: 2.721 MB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.005332, allocations: 1.445 MB / 1.005 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.005527, allocations: 19.88 kB / 1.005 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000393/0.00592, allocations: 155.1 kB / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.006244, allocations: 186.8 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.00664, allocations: 282.6 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000381/0.007021, allocations: 499.3 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.007221, allocations: 127.1 kB / 1.006 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.007506, allocations: 271.3 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.00769, allocations: 159.5 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.00773, allocations: 40 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.007838, allocations: 83.91 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.5e-05/0.007923, allocations: 99.61 kB / 1.007 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.626e-05/0.008009, allocations: 115.6 kB / 1.007 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000438/0.008447, allocations: 0.5411 MB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.00845, allocations: 0 / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.042e-06/0.008451, allocations: 4 kB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.008457, allocations: 4 kB / 1.007 GB, free: 6.785 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.0007394/0.009196, allocations: 0.6765 MB / 1.008 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.009234, allocations: 13.34 kB / 1.008 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.918e-05/0.009284, allocations: 58.73 kB / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.009409, allocations: 56.64 kB / 1.008 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.009821, allocations: 346.9 kB / 1.008 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.00984, allocations: 20.88 kB / 1.008 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.00987, allocations: 24.38 kB / 1.008 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.01021, allocations: 304.7 kB / 1.009 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.01021, allocations: 3.938 kB / 1.009 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.01024, allocations: 15.98 kB / 1.009 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.01024, allocations: 8 kB / 1.009 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.01051, allocations: 181.9 kB / 1.009 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008462/0.01136, allocations: 0.7716 MB / 1.01 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.01178, allocations: 226.8 kB / 1.01 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.0119, allocations: 88.81 kB / 1.01 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.01192, allocations: 4 kB / 1.01 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.01211, allocations: 139.3 kB / 1.01 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.01211, allocations: 0 / 1.01 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0004424/0.01256, allocations: 303.1 kB / 1.01 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.01258, allocations: 55.41 kB / 1.01 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.01289, allocations: 437.5 kB / 1.011 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.01291, allocations: 29.7 kB / 1.011 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.01302, allocations: 220.3 kB / 1.011 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.01306, allocations: 63.47 kB / 1.011 GB, free: 2.598 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.01312, allocations: 49.92 kB / 1.011 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.01321, allocations: 350.8 kB / 1.011 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.01332, allocations: 68.44 kB / 1.012 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.01344, allocations: 126 kB / 1.012 GB, free: 1.984 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.01366, allocations: 190.7 kB / 1.012 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01366, allocations: 3.938 kB / 1.012 GB, free: 1.777 MB / 0.9636 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003011/0.01396, allocations: 265.2 kB / 1.012 GB, free: 1.512 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.01398, allocations: 8 kB / 1.012 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01398, allocations: 0 / 1.012 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.01399, allocations: 4 kB / 1.012 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.01411, allocations: 43.97 kB / 1.012 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.01411, allocations: 3.938 kB / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/0.01419, allocations: 23.88 kB / 1.012 GB, free: 1.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.0142, allocations: 8 kB / 1.012 GB, free: 1.422 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.0001317/0.01433, allocations: 176.5 kB / 1.012 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.01436, allocations: 39.72 kB / 1.012 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.0147, allocations: 258.5 kB / 1.013 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.0147, allocations: 0 / 1.013 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.0147, allocations: 4 kB / 1.013 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01471, allocations: 0 / 1.013 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.01529, allocations: 0.6398 MB / 1.013 GB, free: 264 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.0153, allocations: 4 kB / 1.013 GB, free: 260 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.01539, allocations: 35.91 kB / 1.013 GB, free: 224 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01539, allocations: 0 / 1.013 GB, free: 224 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.0154, allocations: 4 kB / 1.013 GB, free: 220 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01541, allocations: 4 kB / 1.013 GB, free: 216 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01541, allocations: 3.938 kB / 1.013 GB, free: 212 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.01586, allocations: 445.9 kB / 1.014 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.01593, allocations: 59.77 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.01596, allocations: 8 kB / 1.014 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.611e-05/0.01603, allocations: 8 kB / 1.014 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.01609, allocations: 19.91 kB / 1.014 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.0161, allocations: 11.98 kB / 1.014 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002111/0.01631, allocations: 307.1 kB / 1.014 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.01631, allocations: 0 / 1.014 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002199/0.01653, allocations: 59.89 kB / 1.014 GB, free: 15.29 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.00125/0.01778, allocations: 1.312 MB / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.01805, allocations: 178 kB / 1.016 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01806, allocations: 3.938 kB / 1.016 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.01817, allocations: 84.2 kB / 1.016 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.01851, allocations: 99.45 kB / 1.016 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.02126, allocations: 3.123 MB / 1.019 GB, free: 10.56 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.02138, allocations: 191.1 kB / 1.019 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.02149, allocations: 50.92 kB / 1.019 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.02162, allocations: 132.5 kB / 1.019 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of SimCode: time 9.42e-07/0.02163, allocations: 0 / 1.019 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08138/0.103, allocations: 8.693 MB / 1.028 GB, free: 1.613 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/7.471, allocations: 2.234 kB / 1.028 GB, free: 1.613 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_13_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_13_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_13_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --stepSize=0.144 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu) > Buildings_13_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_fmpy.pipe ; mkfifo Buildings_13_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_fmpy_res.csv --start-time 0 --stop-time 360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.144 ../Buildings_13_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu) > Buildings_13_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.838020495139062]