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.001166/0.001166, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001361/0.001361, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 223.3 MB / 240 MB, free: 5.301 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.519/2.519, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005107/0.0005109, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9857/0.9862, allocations: 142.4 MB / 0.9544 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003594/0.9898, allocations: 2.407 MB / 0.9568 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002386/0.9923, allocations: 1.236 MB / 0.958 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.9925, allocations: 11.84 kB / 0.958 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004813/0.993, allocations: 132.1 kB / 0.9581 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.9933, allocations: 106.6 kB / 0.9582 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.9939, allocations: 232.3 kB / 0.9585 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004537/0.9943, allocations: 407.2 kB / 0.9588 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.9946, allocations: 132.2 kB / 0.959 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.9949, allocations: 134.2 kB / 0.9591 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.9951, allocations: 144.7 kB / 0.9592 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.9951, allocations: 8.25 kB / 0.9592 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.9953, allocations: 46.17 kB / 0.9593 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.241e-05/0.9954, allocations: 56.19 kB / 0.9593 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.9955, allocations: 85.95 kB / 0.9594 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.9959, allocations: 406.5 kB / 0.9598 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.9959, allocations: 0 / 0.9598 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.895e-06/0.9959, allocations: 0 / 0.9598 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.9959, allocations: 0 / 0.9598 GB, free: 3.73 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.0009841/0.9969, allocations: 0.6388 MB / 0.9604 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.9969, allocations: 8.75 kB / 0.9604 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.706e-05/0.997, allocations: 54.02 kB / 0.9605 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.9976, allocations: 390.8 kB / 0.9609 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.9976, allocations: 19.09 kB / 0.9609 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.9977, allocations: 23.53 kB / 0.9609 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.9982, allocations: 271 kB / 0.9612 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.9982, allocations: 0.7188 kB / 0.9612 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.9983, allocations: 10.78 kB / 0.9612 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.9983, allocations: 13.08 kB / 0.9612 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/0.9988, allocations: 194.3 kB / 0.9614 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/1, allocations: 0.8734 MB / 0.9622 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/1.001, allocations: 226.5 kB / 0.9624 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/1.001, allocations: 93.36 kB / 0.9625 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/1.001, allocations: 2.719 kB / 0.9625 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/1.001, allocations: 148.5 kB / 0.9627 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 2.735e-06/1.001, allocations: 3.984 kB / 0.9627 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0006911/1.002, allocations: 294.5 kB / 0.963 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/1.002, allocations: 53.81 kB / 0.963 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/1.002, allocations: 412.2 kB / 0.9634 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/1.002, allocations: 31.05 kB / 0.9634 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/1.003, allocations: 213 kB / 0.9636 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/1.003, allocations: 59.73 kB / 0.9637 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/1.003, allocations: 9 kB / 0.9637 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.541e-05/1.003, allocations: 347.8 kB / 0.964 GB, free: 360 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/1.003, allocations: 64.53 kB / 0.9641 GB, free: 332 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/1.003, allocations: 118.1 kB / 0.9642 GB, free: 240 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/1.003, allocations: 81.75 kB / 0.9643 GB, free: 200 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.003, allocations: 1.062 kB / 0.9643 GB, free: 200 kB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004722/1.004, allocations: 266.8 kB / 0.9645 GB, free: 52 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.004, allocations: 4.906 kB / 0.9645 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.004, allocations: 5.922 kB / 0.9645 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/1.004, allocations: 2.938 kB / 0.9646 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/1.004, allocations: 51.97 kB / 0.9646 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.004, allocations: 2.875 kB / 0.9646 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/1.004, allocations: 28.73 kB / 0.9646 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/1.004, allocations: 11 kB / 0.9646 GB, free: 8 kB / 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 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.not1.y,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled,reaToInt.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002261/1.005, allocations: 176.1 kB / 0.9648 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/1.005, allocations: 36.53 kB / 0.9648 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.354e-05/1.005, allocations: 40.28 kB / 0.9649 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.005, allocations: 6.234 kB / 0.9649 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.005, allocations: 0 / 0.9649 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/1.005, allocations: 3.984 kB / 0.9649 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009773/1.006, allocations: 0.6902 MB / 0.9656 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.006, allocations: 0 / 0.9656 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/1.006, allocations: 24.73 kB / 0.9656 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/1.006, allocations: 5.641 kB / 0.9656 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/1.006, allocations: 5.969 kB / 0.9656 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.006, allocations: 1.062 kB / 0.9656 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.006, allocations: 11.98 kB / 0.9656 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/1.007, allocations: 424.1 kB / 0.966 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/1.007, allocations: 132.3 kB / 0.9661 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/1.007, allocations: 9.859 kB / 0.9662 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/1.007, allocations: 13.98 kB / 0.9662 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/1.007, allocations: 15.52 kB / 0.9662 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/1.007, allocations: 9.328 kB / 0.9662 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003395/1.007, allocations: 290.5 kB / 0.9665 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.007, allocations: 0 / 0.9665 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003428/1.008, allocations: 63.91 kB / 0.9665 GB, free: 14.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/1.009, allocations: 424.3 kB / 0.9669 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004501/1.009, allocations: 172.2 kB / 0.9671 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.009, allocations: 0 / 0.9671 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/1.01, allocations: 97.03 kB / 0.9672 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/1.01, allocations: 86.77 kB / 0.9673 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/1.011, allocations: 0.7188 MB / 0.968 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/1.012, allocations: 0.7961 MB / 0.9688 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001698/1.012, allocations: 46.62 kB / 0.9688 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/1.012, allocations: 29.73 kB / 0.9688 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/1.012, allocations: 1.25 kB / 0.9688 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.008516/1.021, allocations: 3.444 MB / 0.9722 GB, free: 11.22 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/jenkins/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