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.001603/0.001603, allocations: 100.8 kB / 16.35 MB, free: 5.828 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.001845/0.001845, allocations: 196.8 kB / 17.3 MB, free: 5.484 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 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.216/2.216, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 66 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2593, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004612/0.264, allocations: 2.836 MB / 0.9539 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002445/0.2664, allocations: 1.344 MB / 0.9552 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003521/0.2668, allocations: 11.94 kB / 0.9552 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.2673, allocations: 135.2 kB / 0.9553 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.2678, allocations: 151.2 kB / 0.9555 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00073/0.2686, allocations: 302.8 kB / 0.9558 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005927/0.2692, allocations: 483.4 kB / 0.9562 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.2695, allocations: 198.5 kB / 0.9564 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.2698, allocations: 187.2 kB / 0.9566 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.27, allocations: 195 kB / 0.9568 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.2701, allocations: 40 kB / 0.9568 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.2702, allocations: 79.98 kB / 0.9569 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.2703, allocations: 91.62 kB / 0.957 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.2705, allocations: 186.9 kB / 0.9572 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005256/0.271, allocations: 0.5255 MB / 0.9577 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.271, allocations: 0 / 0.9577 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.271, allocations: 0 / 0.9577 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.2711, allocations: 0 / 0.9577 GB, free: 1.281 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.001019/0.2721, allocations: 0.7086 MB / 0.9584 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2721, allocations: 12.03 kB / 0.9584 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.559e-05/0.2722, allocations: 44.38 kB / 0.9584 GB, free: 480 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.2728, allocations: 406.6 kB / 0.9588 GB, free: 32 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.2728, allocations: 24.5 kB / 0.9588 GB, free: 8 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.2729, allocations: 31.98 kB / 0.9589 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.2734, allocations: 267.6 kB / 0.9591 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.2734, allocations: 0 / 0.9591 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.2735, allocations: 12 kB / 0.9591 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2735, allocations: 4 kB / 0.9591 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.2739, allocations: 182.2 kB / 0.9593 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.2752, allocations: 0.8763 MB / 0.9602 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/0.2759, allocations: 223 kB / 0.9604 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.2761, allocations: 96.75 kB / 0.9605 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.2761, allocations: 7.984 kB / 0.9605 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.2764, allocations: 141.1 kB / 0.9606 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/0.2764, allocations: 4 kB / 0.9606 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.0006868/0.2771, allocations: 291.2 kB / 0.9609 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.2772, allocations: 55.41 kB / 0.961 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.2776, allocations: 409.6 kB / 0.9613 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.2776, allocations: 33.69 kB / 0.9614 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.2778, allocations: 212.1 kB / 0.9616 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.2779, allocations: 67.09 kB / 0.9616 GB, free: 13 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/0.2779, allocations: 49.94 kB / 0.9617 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2781, allocations: 354.7 kB / 0.962 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.2783, allocations: 60.44 kB / 0.9621 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.2785, allocations: 118 kB / 0.9622 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.2788, allocations: 188.4 kB / 0.9624 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.2789, allocations: 4 kB / 0.9624 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005036/0.2794, allocations: 261 kB / 0.9626 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2794, allocations: 10.19 kB / 0.9626 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2794, allocations: 0 / 0.9626 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2794, allocations: 4 kB / 0.9626 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.2797, allocations: 39.97 kB / 0.9627 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.2797, allocations: 11.88 kB / 0.9627 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.2798, allocations: 31.89 kB / 0.9627 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.2799, allocations: 8 kB / 0.9627 GB, free: 11.84 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.000172/0.28, allocations: 161.8 kB / 0.9629 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.2801, allocations: 35.56 kB / 0.9629 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.307e-05/0.2802, allocations: 39.59 kB / 0.963 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2802, allocations: 4 kB / 0.963 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2802, allocations: 3.938 kB / 0.963 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2802, allocations: 0 / 0.963 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009387/0.2812, allocations: 0.6855 MB / 0.9636 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2812, allocations: 4 kB / 0.9636 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.2814, allocations: 31.91 kB / 0.9637 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.2814, allocations: 3.938 kB / 0.9637 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.2814, allocations: 8 kB / 0.9637 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2814, allocations: 0 / 0.9637 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2815, allocations: 0 / 0.9637 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/0.2822, allocations: 413.1 kB / 0.9641 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.2823, allocations: 136.5 kB / 0.9642 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.2823, allocations: 8 kB / 0.9642 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.2825, allocations: 11.98 kB / 0.9642 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.2826, allocations: 19.97 kB / 0.9642 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.2826, allocations: 15.94 kB / 0.9643 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002881/0.2829, allocations: 295.2 kB / 0.9645 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2829, allocations: 0 / 0.9645 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003545/0.2833, allocations: 71.77 kB / 0.9646 GB, free: 9.812 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.0009339/0.2842, allocations: 411.6 kB / 0.965 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004612/0.2847, allocations: 181.5 kB / 0.9652 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2847, allocations: 0 / 0.9652 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.2849, allocations: 91.89 kB / 0.9653 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.2855, allocations: 89.3 kB / 0.9653 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.2866, allocations: 0.6188 MB / 0.966 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.287, allocations: 0.7988 MB / 0.9667 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.2872, allocations: 46.94 kB / 0.9668 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.2873, allocations: 31.44 kB / 0.9668 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of SimCode: time 1.673e-06/0.2873, allocations: 0 / 0.9668 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of Templates: time 0.008188/0.2955, allocations: 3.765 MB / 0.9705 GB, free: 3.934 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 gbode -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