Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001962/0.001962, allocations: 104.8 kB / 16.45 MB, free: 6.449 MB / 14.72 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.002073/0.002073, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.433/1.433, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.031/3.031, allocations: 0.49 GB / 0.7916 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.64 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.318, allocations: 176.1 MB / 1.321 GB, free: 3.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.00493/0.323, allocations: 2.871 MB / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003037/0.326, allocations: 1.535 MB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.3264, allocations: 19.88 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.3269, allocations: 143.1 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006187/0.3276, allocations: 187 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000765/0.3283, allocations: 277.9 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007258/0.329, allocations: 0.4915 MB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.3293, allocations: 134.5 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.3297, allocations: 203.1 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.33, allocations: 195.1 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.33, allocations: 40 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.3302, allocations: 83.97 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.3303, allocations: 95.58 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.3305, allocations: 190.8 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007515/0.3312, allocations: 0.5368 MB / 1.328 GB, free: 12.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3312, allocations: 0 / 1.328 GB, free: 12.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3312, allocations: 0 / 1.328 GB, free: 12.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.3312, allocations: 4 kB / 1.328 GB, free: 12.38 MB / 1.029 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.00122/0.3325, allocations: 0.7316 MB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3325, allocations: 11.98 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.382e-05/0.3326, allocations: 58.72 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.3328, allocations: 60.61 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007077/0.3335, allocations: 418.9 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.3335, allocations: 24.88 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.3336, allocations: 23.94 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/0.3341, allocations: 279.7 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3341, allocations: 0 / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.3342, allocations: 11.92 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.3342, allocations: 8 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.3346, allocations: 182.2 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.336, allocations: 0.8766 MB / 1.33 GB, free: 9.539 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007731/0.3368, allocations: 225.1 kB / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.337, allocations: 88.81 kB / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.337, allocations: 0 / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.3373, allocations: 135.3 kB / 1.331 GB, free: 9.078 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.3373, allocations: 0 / 1.331 GB, free: 9.078 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0007635/0.3381, allocations: 302.4 kB / 1.331 GB, free: 8.777 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3381, allocations: 51.41 kB / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.3386, allocations: 429.6 kB / 1.331 GB, free: 8.285 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.3387, allocations: 25.7 kB / 1.331 GB, free: 8.254 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.3389, allocations: 220.3 kB / 1.332 GB, free: 8.035 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.3389, allocations: 63.47 kB / 1.332 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.339, allocations: 49.92 kB / 1.332 GB, free: 7.918 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3392, allocations: 354.7 kB / 1.332 GB, free: 7.562 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.3394, allocations: 68.44 kB / 1.332 GB, free: 7.496 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.3396, allocations: 114.8 kB / 1.332 GB, free: 7.367 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.3401, allocations: 189 kB / 1.332 GB, free: 7.164 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3401, allocations: 0 / 1.332 GB, free: 7.164 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005658/0.3406, allocations: 271.1 kB / 1.333 GB, free: 6.895 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3407, allocations: 4 kB / 1.333 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3407, allocations: 7.938 kB / 1.333 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3407, allocations: 3.984 kB / 1.333 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.3409, allocations: 51.91 kB / 1.333 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3409, allocations: 4 kB / 1.333 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.3411, allocations: 23.83 kB / 1.333 GB, free: 6.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.3411, allocations: 7.984 kB / 1.333 GB, free: 6.793 MB / 1.029 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.0002089/0.3413, allocations: 173.8 kB / 1.333 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.3414, allocations: 43.7 kB / 1.333 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.3415, allocations: 39.61 kB / 1.333 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3415, allocations: 4 kB / 1.333 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3415, allocations: 0 / 1.333 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.3415, allocations: 3.938 kB / 1.333 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.3426, allocations: 0.6796 MB / 1.334 GB, free: 5.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3426, allocations: 7.938 kB / 1.334 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.3428, allocations: 27.98 kB / 1.334 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3428, allocations: 3.938 kB / 1.334 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.3428, allocations: 11.92 kB / 1.334 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3428, allocations: 4 kB / 1.334 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3428, allocations: 0 / 1.334 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/0.3436, allocations: 425 kB / 1.334 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3438, allocations: 136.7 kB / 1.334 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.3438, allocations: 8 kB / 1.334 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.344, allocations: 11.98 kB / 1.334 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.344, allocations: 15.98 kB / 1.334 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.3441, allocations: 8 kB / 1.334 GB, free: 5.113 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003311/0.3444, allocations: 303.1 kB / 1.335 GB, free: 4.816 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3444, allocations: 0 / 1.335 GB, free: 4.816 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000348/0.3448, allocations: 67.95 kB / 1.335 GB, free: 4.75 MB / 1.029 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.002549/0.3473, allocations: 1.268 MB / 1.336 GB, free: 3.621 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005215/0.3478, allocations: 176.4 kB / 1.336 GB, free: 3.449 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3478, allocations: 0 / 1.336 GB, free: 3.449 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.348, allocations: 83.89 kB / 1.336 GB, free: 3.367 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.3486, allocations: 85.59 kB / 1.336 GB, free: 3.289 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.3529, allocations: 3.105 MB / 1.339 GB, free: 72 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.3534, allocations: 0.8066 MB / 1.34 GB, free: 15.24 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.3535, allocations: 46.95 kB / 1.34 GB, free: 15.19 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.3537, allocations: 131.4 kB / 1.34 GB, free: 15.06 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/0.3537, allocations: 0 / 1.34 GB, free: 15.06 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04659/0.4003, allocations: 7.693 MB / 1.348 GB, free: 7.523 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.674, allocations: 5.812 kB / 1.348 GB, free: 7.52 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --stepSize=0.144 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.078647445887327]