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.001301/0.0013, allocations: 103 kB / 16.36 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.167/2.167, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001363, allocations: 62.8 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.298, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004746/0.3028, allocations: 2.832 MB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00252/0.3054, allocations: 1.352 MB / 0.9552 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000417/0.3058, allocations: 11.94 kB / 0.9552 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.3063, allocations: 143.2 kB / 0.9554 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.3068, allocations: 139.2 kB / 0.9555 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.3075, allocations: 314.6 kB / 0.9558 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004792/0.308, allocations: 479.5 kB / 0.9562 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.3083, allocations: 194.5 kB / 0.9564 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.3085, allocations: 191.2 kB / 0.9566 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.3088, allocations: 195 kB / 0.9568 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.3089, allocations: 36 kB / 0.9568 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.309, allocations: 75.98 kB / 0.9569 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.3091, allocations: 91.69 kB / 0.957 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.3093, allocations: 186.8 kB / 0.9572 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.3099, allocations: 0.5216 MB / 0.9577 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3099, allocations: 0 / 0.9577 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3099, allocations: 4 kB / 0.9577 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.3099, allocations: 0 / 0.9577 GB, free: 1.309 MB / 0.7325 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.001038/0.3109, allocations: 0.7086 MB / 0.9584 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.311, allocations: 8.031 kB / 0.9584 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.3111, allocations: 44.38 kB / 0.9584 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.3117, allocations: 418.6 kB / 0.9588 GB, free: 52 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.3117, allocations: 24.5 kB / 0.9588 GB, free: 28 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.3118, allocations: 24 kB / 0.9589 GB, free: 4 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.3123, allocations: 271.7 kB / 0.9591 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3123, allocations: 4 kB / 0.9591 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.3123, allocations: 12 kB / 0.9591 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3123, allocations: 4 kB / 0.9591 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.3127, allocations: 190.1 kB / 0.9593 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.314, allocations: 0.8607 MB / 0.9602 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006854/0.3147, allocations: 235 kB / 0.9604 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.3149, allocations: 90.8 kB / 0.9605 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.3149, allocations: 7.984 kB / 0.9605 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.3152, allocations: 149.2 kB / 0.9606 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.3152, allocations: 0 / 0.9606 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.0006619/0.3159, allocations: 281.2 kB / 0.9609 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.316, allocations: 59.41 kB / 0.961 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.3164, allocations: 413.6 kB / 0.9613 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.3164, allocations: 29.7 kB / 0.9614 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3166, allocations: 216.1 kB / 0.9616 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.3166, allocations: 67.08 kB / 0.9616 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.3167, allocations: 45.94 kB / 0.9617 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3169, allocations: 354.7 kB / 0.962 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.317, allocations: 64.42 kB / 0.9621 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.3172, allocations: 122 kB / 0.9622 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.3176, allocations: 183.3 kB / 0.9624 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3176, allocations: 0 / 0.9624 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004781/0.3181, allocations: 257 kB / 0.9626 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3181, allocations: 8.156 kB / 0.9626 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3181, allocations: 4 kB / 0.9626 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3181, allocations: 4 kB / 0.9626 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.3184, allocations: 47.91 kB / 0.9627 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3184, allocations: 3.938 kB / 0.9627 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.3185, allocations: 27.73 kB / 0.9627 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.3185, allocations: 8 kB / 0.9627 GB, free: 11.86 MB / 0.7481 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.0001687/0.3187, allocations: 166.4 kB / 0.9629 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.3188, allocations: 39.62 kB / 0.9629 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.179e-05/0.3189, allocations: 43.58 kB / 0.963 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3189, allocations: 0 / 0.963 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.3189, allocations: 3.938 kB / 0.963 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3189, allocations: 3.984 kB / 0.963 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008968/0.3198, allocations: 0.6834 MB / 0.9636 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3198, allocations: 3.984 kB / 0.9636 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.32, allocations: 27.98 kB / 0.9637 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.32, allocations: 7.938 kB / 0.9637 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.32, allocations: 4 kB / 0.9637 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.32, allocations: 4 kB / 0.9637 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.32, allocations: 4 kB / 0.9637 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.3207, allocations: 426.3 kB / 0.9641 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.3208, allocations: 124.6 kB / 0.9642 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.3209, allocations: 15.86 kB / 0.9642 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.3211, allocations: 8 kB / 0.9642 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.3211, allocations: 19.97 kB / 0.9643 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.3212, allocations: 4 kB / 0.9643 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002869/0.3215, allocations: 295.2 kB / 0.9645 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3215, allocations: 0 / 0.9645 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003496/0.3218, allocations: 71.77 kB / 0.9646 GB, free: 9.836 MB / 0.7481 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.0009811/0.3228, allocations: 413.9 kB / 0.965 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.3233, allocations: 167.9 kB / 0.9652 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3233, allocations: 0 / 0.9652 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.3235, allocations: 91.89 kB / 0.9653 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.324, allocations: 98.86 kB / 0.9653 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3252, allocations: 0.6226 MB / 0.966 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.3255, allocations: 0.7988 MB / 0.9667 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.3257, allocations: 54.92 kB / 0.9668 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.3257, allocations: 31.42 kB / 0.9668 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3258, allocations: 0 / 0.9668 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of Templates: time 0.007843/0.3336, allocations: 3.758 MB / 0.9705 GB, free: 3.957 MB / 0.7481 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 -s cvode -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