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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001663/0.001663, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001883/0.001883, allocations: 192.6 kB / 16.25 MB, free: 6.586 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.496/1.496, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437 MB / 0.7101 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 59.91 kB / 0.8688 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6986/0.7006, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005127/0.7058, allocations: 2.881 MB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002947/0.7088, allocations: 1.329 MB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.7092, allocations: 11.94 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.7097, allocations: 127.5 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.7101, allocations: 115.5 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007796/0.7109, allocations: 269.7 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006468/0.7116, allocations: 483.4 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.712, allocations: 200.5 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.7123, allocations: 195.1 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.7126, allocations: 195.1 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.946e-05/0.7126, allocations: 40 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.7128, allocations: 71.98 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.7129, allocations: 91.69 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.7131, allocations: 190.8 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006468/0.7138, allocations: 0.5101 MB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.7138, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7138, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.7138, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 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.001311/0.7151, allocations: 0.7049 MB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.7152, allocations: 11.98 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.7153, allocations: 48.38 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.716, allocations: 406.5 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.716, allocations: 20.94 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/0.7161, allocations: 28.12 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/0.7167, allocations: 271.7 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.7167, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.7168, allocations: 12 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.7168, allocations: 8 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.7173, allocations: 182.2 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.7188, allocations: 0.8803 MB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008008/0.7197, allocations: 229.9 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.7199, allocations: 96.75 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.72, allocations: 4 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004443/0.7204, allocations: 135.2 kB / 1.026 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/0.7204, allocations: 0 / 1.026 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0008037/0.7212, allocations: 295.2 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.7213, allocations: 55.41 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005009/0.7218, allocations: 409.6 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.7218, allocations: 33.69 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.722, allocations: 216 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.7221, allocations: 63.19 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.7222, allocations: 45.94 kB / 1.027 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.7224, allocations: 358.7 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.7226, allocations: 64.42 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.7229, allocations: 115.2 kB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.7233, allocations: 192.1 kB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7233, allocations: 0 / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005482/0.7238, allocations: 261 kB / 1.028 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.7239, allocations: 8 kB / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.7239, allocations: 0 / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.7239, allocations: 4 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.7242, allocations: 47.91 kB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7242, allocations: 0 / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.7243, allocations: 31.67 kB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.7244, allocations: 8 kB / 1.028 GB, free: 6.598 MB / 0.7794 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.000217/0.7246, allocations: 177.8 kB / 1.029 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.7247, allocations: 39.53 kB / 1.029 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.7248, allocations: 39.59 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7248, allocations: 0 / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.7248, allocations: 0 / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.7248, allocations: 7.922 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.7259, allocations: 0.6834 MB / 1.029 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.7259, allocations: 0 / 1.029 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.7261, allocations: 27.98 kB / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.7261, allocations: 0 / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.7262, allocations: 11.92 kB / 1.029 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7262, allocations: 4 kB / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7262, allocations: 0 / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/0.727, allocations: 420.9 kB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.7271, allocations: 132.6 kB / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.7272, allocations: 11.94 kB / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.7274, allocations: 11.98 kB / 1.03 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.7275, allocations: 11.98 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.7275, allocations: 12 kB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003386/0.7278, allocations: 295.1 kB / 1.03 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7279, allocations: 4.062 kB / 1.03 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003578/0.7282, allocations: 63.84 kB / 1.03 GB, free: 4.566 MB / 0.7794 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.001551/0.7298, allocations: 405.9 kB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005373/0.7303, allocations: 197.1 kB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.7303, allocations: 4.312 kB / 1.031 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.7306, allocations: 87.89 kB / 1.031 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/0.7312, allocations: 98.88 kB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.7325, allocations: 0.7474 MB / 1.032 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.7331, allocations: 0.7951 MB / 1.033 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.7332, allocations: 46.94 kB / 1.033 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.7333, allocations: 27.44 kB / 1.033 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.7333, allocations: 0 / 1.033 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of Templates: time 0.008963/0.7423, allocations: 3.721 MB / 1.036 GB, free: 14.61 MB / 0.795 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=400 -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/jenkins/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