Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001848/0.001848, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001973/0.001973, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.325/1.325, 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 10.1.0-maint.10.0.x/package.mo): time 2.378/2.378, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.22 kB / 0.8707 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2723, allocations: 151.6 MB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004087/0.2765, allocations: 2.84 MB / 1.022 GB, free: 6.945 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.2786, allocations: 1.348 MB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.2788, allocations: 11.94 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.2792, allocations: 147.2 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.2796, allocations: 147.2 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.2802, allocations: 300 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000479/0.2807, allocations: 487.4 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.281, allocations: 194.5 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.2813, allocations: 187.2 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.2815, allocations: 195 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.2815, allocations: 40 kB / 1.025 GB, free: 3.918 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.2817, allocations: 83.97 kB / 1.025 GB, free: 3.836 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2818, allocations: 91.62 kB / 1.025 GB, free: 3.746 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.2819, allocations: 179 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.2825, allocations: 0.5332 MB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2825, allocations: 0 / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2825, allocations: 0 / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.2825, allocations: 0 / 1.025 GB, free: 3.035 MB / 0.795 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.001001/0.2835, allocations: 0.7087 MB / 1.026 GB, free: 2.277 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2835, allocations: 16.88 kB / 1.026 GB, free: 2.262 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.912e-05/0.2836, allocations: 44.38 kB / 1.026 GB, free: 2.219 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.2842, allocations: 406.5 kB / 1.027 GB, free: 1.781 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.2843, allocations: 20.94 kB / 1.027 GB, free: 1.762 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.2843, allocations: 28.12 kB / 1.027 GB, free: 1.734 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.2848, allocations: 279.6 kB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2849, allocations: 0 / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.2849, allocations: 8 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.2849, allocations: 8 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.2853, allocations: 178.2 kB / 1.027 GB, free: 1.262 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.2866, allocations: 0.8841 MB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/0.2873, allocations: 223 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.2875, allocations: 92.89 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.2876, allocations: 4 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.2879, allocations: 137 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.2879, allocations: 4 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0006789/0.2886, allocations: 291 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.2886, allocations: 55.41 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.2891, allocations: 409.6 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.2891, allocations: 29.7 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.2893, allocations: 216 kB / 1.029 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.2893, allocations: 67.09 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/0.2894, allocations: 53.84 kB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2895, allocations: 354.7 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.2897, allocations: 60.44 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.2899, allocations: 123 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.2903, allocations: 182.5 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2903, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004932/0.2908, allocations: 270.6 kB / 1.03 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2909, allocations: 4 kB / 1.03 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.2909, allocations: 0 / 1.03 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2909, allocations: 4 kB / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.2911, allocations: 47.97 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2911, allocations: 3.938 kB / 1.03 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.2913, allocations: 35.83 kB / 1.03 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.2913, allocations: 8 kB / 1.03 GB, free: 13.59 MB / 0.8106 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.0001614/0.2915, allocations: 165.8 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.2915, allocations: 35.53 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.562e-05/0.2916, allocations: 39.59 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2916, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2916, allocations: 7.875 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2917, allocations: 11.92 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009225/0.2926, allocations: 0.6739 MB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2926, allocations: 0 / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.2928, allocations: 35.92 kB / 1.031 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2928, allocations: 0 / 1.031 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.2928, allocations: 11.92 kB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2928, allocations: 0 / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2928, allocations: 0 / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007031/0.2935, allocations: 425 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.2937, allocations: 124.7 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.2937, allocations: 11.94 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.2939, allocations: 4 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.294, allocations: 19.97 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.294, allocations: 12.06 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002909/0.2943, allocations: 295.1 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2943, allocations: 3.938 kB / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003257/0.2946, allocations: 67.69 kB / 1.032 GB, free: 11.57 MB / 0.8106 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.000919/0.2956, allocations: 412.2 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000465/0.296, allocations: 190.6 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2961, allocations: 4 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.2963, allocations: 83.91 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.2968, allocations: 95.84 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2979, allocations: 0.6148 MB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.2982, allocations: 0.799 MB / 1.034 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.2984, allocations: 42.95 kB / 1.034 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.2985, allocations: 35.42 kB / 1.035 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.2985, allocations: 4 kB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of Templates: time 0.007573/0.306, allocations: 3.766 MB / 1.038 GB, free: 5.695 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches