Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002276/0.002276, allocations: 196 kB / 16.79 MB, free: 6.809 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.43/1.43, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 67.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.053, allocations: 140.3 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004606/1.058, allocations: 2.869 MB / 0.9524 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00239/1.06, allocations: 1.317 MB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002753/1.061, allocations: 11.66 kB / 0.9537 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006057/1.061, allocations: 129.6 kB / 0.9538 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002916/1.062, allocations: 121.6 kB / 0.9539 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/1.062, allocations: 266.5 kB / 0.9542 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005948/1.063, allocations: 448.7 kB / 0.9546 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003857/1.063, allocations: 196.5 kB / 0.9548 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/1.063, allocations: 156.7 kB / 0.9549 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/1.064, allocations: 184.2 kB / 0.9551 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/1.064, allocations: 15.84 kB / 0.9551 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/1.064, allocations: 61.86 kB / 0.9552 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/1.064, allocations: 68.94 kB / 0.9553 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/1.064, allocations: 169.6 kB / 0.9554 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005007/1.065, allocations: 406.7 kB / 0.9558 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.065, allocations: 1.281 kB / 0.9558 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/1.065, allocations: 0 / 0.9558 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.246e-05/1.065, allocations: 0 / 0.9558 GB, free: 4.406 MB / 0.7169 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.001415/1.066, allocations: 0.7106 MB / 0.9565 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.066, allocations: 8.75 kB / 0.9565 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.701e-05/1.067, allocations: 48.38 kB / 0.9566 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/1.067, allocations: 398 kB / 0.9569 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/1.067, allocations: 22.66 kB / 0.957 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/1.067, allocations: 22.97 kB / 0.957 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005794/1.068, allocations: 280.6 kB / 0.9573 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.068, allocations: 0 / 0.9573 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/1.068, allocations: 13.45 kB / 0.9573 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/1.068, allocations: 6.75 kB / 0.9573 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/1.068, allocations: 183.7 kB / 0.9574 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/1.07, allocations: 0.8712 MB / 0.9583 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008379/1.071, allocations: 229 kB / 0.9585 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/1.071, allocations: 91.62 kB / 0.9586 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/1.071, allocations: 6.734 kB / 0.9586 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003334/1.071, allocations: 144.8 kB / 0.9588 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/1.071, allocations: 0 / 0.9588 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0007692/1.072, allocations: 286.3 kB / 0.959 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.072, allocations: 57.59 kB / 0.9591 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/1.073, allocations: 419 kB / 0.9595 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/1.073, allocations: 31.27 kB / 0.9595 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/1.073, allocations: 210.1 kB / 0.9597 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/1.073, allocations: 67.42 kB / 0.9598 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.922e-05/1.073, allocations: 51.36 kB / 0.9598 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/1.073, allocations: 352 kB / 0.9602 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/1.073, allocations: 66.56 kB / 0.9602 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/1.073, allocations: 118.2 kB / 0.9603 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/1.074, allocations: 184.3 kB / 0.9605 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.074, allocations: 0 / 0.9605 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005255/1.074, allocations: 257.1 kB / 0.9608 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.074, allocations: 5.5 kB / 0.9608 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.074, allocations: 10.08 kB / 0.9608 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.074, allocations: 2.156 kB / 0.9608 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/1.075, allocations: 43.73 kB / 0.9608 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/1.075, allocations: 10.08 kB / 0.9608 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/1.075, allocations: 19.66 kB / 0.9608 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/1.075, allocations: 11 kB / 0.9609 GB, free: 0.5078 MB / 0.7169 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.0001826/1.075, allocations: 167.8 kB / 0.961 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/1.075, allocations: 36.09 kB / 0.961 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.831e-05/1.075, allocations: 47.52 kB / 0.9611 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.075, allocations: 1.844 kB / 0.9611 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/1.075, allocations: 5.031 kB / 0.9611 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.075, allocations: 0 / 0.9611 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/1.076, allocations: 0.6793 MB / 0.9618 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.076, allocations: 0 / 0.9618 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/1.077, allocations: 35.39 kB / 0.9618 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/1.077, allocations: 5 kB / 0.9618 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/1.077, allocations: 9.547 kB / 0.9618 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.077, allocations: 1.406 kB / 0.9618 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.077, allocations: 0 / 0.9618 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009332/1.078, allocations: 414.9 kB / 0.9622 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/1.078, allocations: 140.5 kB / 0.9623 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/1.078, allocations: 5.469 kB / 0.9623 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/1.078, allocations: 11.64 kB / 0.9624 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/1.078, allocations: 12.33 kB / 0.9624 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/1.078, allocations: 12.77 kB / 0.9624 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004144/1.079, allocations: 293.6 kB / 0.9627 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.154e-06/1.079, allocations: 3.938 kB / 0.9627 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004111/1.079, allocations: 60.25 kB / 0.9627 GB, free: 15.09 MB / 0.7325 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.001152/1.08, allocations: 415.3 kB / 0.9631 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005134/1.081, allocations: 172.2 kB / 0.9633 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.081, allocations: 1.125 kB / 0.9633 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/1.081, allocations: 98.44 kB / 0.9634 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006329/1.082, allocations: 96.44 kB / 0.9635 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/1.083, allocations: 0.7756 MB / 0.9642 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/1.084, allocations: 0.792 MB / 0.965 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/1.084, allocations: 35.95 kB / 0.965 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/1.084, allocations: 0 / 0.965 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of Templates: time 0.01289/1.097, allocations: 4.682 MB / 0.9696 GB, free: 10.95 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches