Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000931/0.000931, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001149/0.001149, allocations: 168.7 kB / 15.95 MB, free: 204 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.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.703/2.703, allocations: 409.4 MB / 0.684 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 8 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9223/0.9227, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003531/0.9263, allocations: 2.401 MB / 0.9835 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.9286, allocations: 1.255 MB / 0.9847 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.9288, allocations: 11.94 kB / 0.9847 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.9293, allocations: 123.5 kB / 0.9848 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.9295, allocations: 107.5 kB / 0.9849 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.9301, allocations: 229.1 kB / 0.9852 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.9306, allocations: 403.6 kB / 0.9855 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.9308, allocations: 136.4 kB / 0.9857 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.9311, allocations: 139.2 kB / 0.9858 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.9313, allocations: 143.2 kB / 0.9859 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.9314, allocations: 8 kB / 0.986 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.9315, allocations: 51.92 kB / 0.986 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.519e-05/0.9316, allocations: 59.69 kB / 0.9861 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.9317, allocations: 81.52 kB / 0.9861 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.9321, allocations: 401.3 kB / 0.9865 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.9321, allocations: 4 kB / 0.9865 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9322, allocations: 0 / 0.9865 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.9322, allocations: 0 / 0.9865 GB, free: 0.707 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.001031/0.9332, allocations: 0.6424 MB / 0.9872 GB, free: 16 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.9333, allocations: 12.03 kB / 0.9872 GB, free: 4 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.683e-05/0.9334, allocations: 62.53 kB / 0.9872 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.9334, allocations: 47.44 kB / 0.9873 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006094/0.9341, allocations: 385.6 kB / 0.9876 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.9341, allocations: 16.56 kB / 0.9877 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.9341, allocations: 31.98 kB / 0.9877 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.9347, allocations: 275.6 kB / 0.9879 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.9347, allocations: 0 / 0.9879 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.9348, allocations: 8 kB / 0.988 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.9348, allocations: 4 kB / 0.988 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.9352, allocations: 194.1 kB / 0.9881 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.9366, allocations: 0.8687 MB / 0.989 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.9374, allocations: 238.9 kB / 0.9892 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.9376, allocations: 84.83 kB / 0.9893 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.9376, allocations: 7.984 kB / 0.9893 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003391/0.938, allocations: 147.2 kB / 0.9894 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.694e-06/0.938, allocations: 0 / 0.9894 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.0006857/0.9387, allocations: 291.7 kB / 0.9897 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.9387, allocations: 55.41 kB / 0.9898 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.9392, allocations: 413.6 kB / 0.9902 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/0.9393, allocations: 33.7 kB / 0.9902 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.9395, allocations: 212.1 kB / 0.9904 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.9396, allocations: 63.09 kB / 0.9905 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.9396, allocations: 8 kB / 0.9905 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.9398, allocations: 346.8 kB / 0.9908 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.94, allocations: 64.44 kB / 0.9909 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.9402, allocations: 122.2 kB / 0.991 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.9404, allocations: 77.67 kB / 0.9911 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.9405, allocations: 15.89 kB / 0.9911 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005076/0.941, allocations: 257.5 kB / 0.9913 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.941, allocations: 8 kB / 0.9913 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.9411, allocations: 0 / 0.9913 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.9411, allocations: 4 kB / 0.9913 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.9413, allocations: 52.06 kB / 0.9914 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.9413, allocations: 0 / 0.9914 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.9414, allocations: 27.83 kB / 0.9914 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.9415, allocations: 8 kB / 0.9914 GB, free: 11.44 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 ($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.0001829/0.9417, allocations: 171.1 kB / 0.9916 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.9417, allocations: 39.48 kB / 0.9916 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.978e-05/0.9418, allocations: 43.58 kB / 0.9917 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.9418, allocations: 8 kB / 0.9917 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.9418, allocations: 0 / 0.9917 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.9418, allocations: 3.938 kB / 0.9917 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009243/0.9428, allocations: 0.6817 MB / 0.9923 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9428, allocations: 0 / 0.9923 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.943, allocations: 31.98 kB / 0.9924 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.943, allocations: 0 / 0.9924 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.943, allocations: 11.98 kB / 0.9924 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.943, allocations: 0 / 0.9924 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.943, allocations: 0 / 0.9924 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.9438, allocations: 437.2 kB / 0.9928 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.9439, allocations: 136.6 kB / 0.9929 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.944, allocations: 7.984 kB / 0.9929 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.9441, allocations: 7.984 kB / 0.9929 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.9442, allocations: 19.97 kB / 0.993 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.9442, allocations: 8 kB / 0.993 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003167/0.9446, allocations: 291.1 kB / 0.9932 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9446, allocations: 0 / 0.9932 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000344/0.9449, allocations: 63.91 kB / 0.9933 GB, free: 9.406 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 (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.002017/0.9469, allocations: 1.263 MB / 0.9945 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004797/0.9474, allocations: 179.7 kB / 0.9947 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.9474, allocations: 4 kB / 0.9947 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.9477, allocations: 92.22 kB / 0.9948 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.9483, allocations: 83 kB / 0.9949 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.9518, allocations: 1.965 MB / 0.9968 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.9523, allocations: 0.8031 MB / 0.9976 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002012/0.9525, allocations: 46.94 kB / 0.9976 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.9527, allocations: 124.4 kB / 0.9977 GB, free: 4.898 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.9527, allocations: 8 kB / 0.9978 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.9759, allocations: 7.004 MB / 1.005 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/0.9761, allocations: 251 kB / 1.005 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/3.095, allocations: 4 kB / 1.005 GB, free: 13.78 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat does not exist to compare? outputFormat=mat