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.001747/0.001747, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.002591/0.002591, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.37/2.37, allocations: 223.2 MB / 239.9 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.473/4.473, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000672/0.0006722, allocations: 8 kB / 0.8375 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89/1.891, allocations: 146.8 MB / 0.9809 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.006017/1.897, allocations: 2.39 MB / 0.9832 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003961/1.901, allocations: 1.224 MB / 0.9844 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004909/1.902, allocations: 11.94 kB / 0.9844 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006573/1.903, allocations: 111.5 kB / 0.9845 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006397/1.903, allocations: 147.6 kB / 0.9847 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/1.904, allocations: 237.2 kB / 0.9849 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007289/1.905, allocations: 288.1 kB / 0.9852 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/1.906, allocations: 128.4 kB / 0.9853 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/1.906, allocations: 147.2 kB / 0.9854 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/1.906, allocations: 135.2 kB / 0.9856 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/1.906, allocations: 8 kB / 0.9856 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/1.906, allocations: 35.97 kB / 0.9856 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/1.907, allocations: 63.69 kB / 0.9857 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/1.907, allocations: 85.45 kB / 0.9857 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007423/1.908, allocations: 401.2 kB / 0.9861 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/1.908, allocations: 4 kB / 0.9861 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.747e-06/1.908, allocations: 0 / 0.9861 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.396e-06/1.908, allocations: 0 / 0.9861 GB, free: 0.9414 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.001708/1.909, allocations: 0.6385 MB / 0.9868 GB, free: 260 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.882e-05/1.909, allocations: 12.03 kB / 0.9868 GB, free: 248 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/1.91, allocations: 66.53 kB / 0.9868 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/1.91, allocations: 47.44 kB / 0.9869 GB, free: 124 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009851/1.911, allocations: 377.7 kB / 0.9872 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/1.911, allocations: 20.56 kB / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.125e-05/1.911, allocations: 20 kB / 0.9873 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/1.912, allocations: 287.6 kB / 0.9875 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/1.912, allocations: 0 / 0.9875 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/1.912, allocations: 8 kB / 0.9876 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/1.912, allocations: 4 kB / 0.9876 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/1.913, allocations: 186.2 kB / 0.9877 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/1.915, allocations: 0.8803 MB / 0.9886 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/1.916, allocations: 227 kB / 0.9888 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.014e-05/1.916, allocations: 4 kB / 0.9888 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005654/1.917, allocations: 148.8 kB / 0.989 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 4.007e-06/1.917, allocations: 0 / 0.989 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.001132/1.918, allocations: 298.5 kB / 0.9892 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/1.918, allocations: 55.41 kB / 0.9893 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007758/1.919, allocations: 409.6 kB / 0.9897 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/1.919, allocations: 29.7 kB / 0.9897 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/1.919, allocations: 220.1 kB / 0.9899 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/1.919, allocations: 59.11 kB / 0.99 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/1.919, allocations: 4 kB / 0.99 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002799/1.92, allocations: 350.8 kB / 0.9903 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/1.92, allocations: 68.42 kB / 0.9904 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/1.92, allocations: 114.2 kB / 0.9905 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/1.921, allocations: 77.67 kB / 0.9906 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.921, allocations: 0 / 0.9906 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008106/1.921, allocations: 267.3 kB / 0.9908 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.922, allocations: 8 kB / 0.9908 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/1.922, allocations: 4 kB / 0.9908 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.922, allocations: 3.938 kB / 0.9908 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/1.922, allocations: 43.97 kB / 0.9909 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/1.922, allocations: 4 kB / 0.9909 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/1.922, allocations: 27.77 kB / 0.9909 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/1.922, allocations: 8 kB / 0.9909 GB, free: 11.78 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.0003545/1.923, allocations: 169.8 kB / 0.9911 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/1.923, allocations: 43.48 kB / 0.9911 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/1.923, allocations: 47.52 kB / 0.9912 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/1.923, allocations: 0 / 0.9912 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.923, allocations: 0 / 0.9912 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.923, allocations: 0 / 0.9912 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/1.924, allocations: 0.6949 MB / 0.9918 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.924, allocations: 0 / 0.9918 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/1.925, allocations: 31.92 kB / 0.9919 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.925, allocations: 0 / 0.9919 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/1.925, allocations: 7.984 kB / 0.9919 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/1.925, allocations: 8 kB / 0.9919 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.925, allocations: 0 / 0.9919 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.926, allocations: 425.2 kB / 0.9923 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/1.926, allocations: 136.6 kB / 0.9924 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/1.926, allocations: 4 kB / 0.9924 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/1.926, allocations: 11.98 kB / 0.9924 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/1.927, allocations: 24.03 kB / 0.9925 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/1.927, allocations: 4 kB / 0.9925 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006464/1.927, allocations: 295.1 kB / 0.9927 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.11e-07/1.927, allocations: 3.938 kB / 0.9928 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005857/1.928, allocations: 63.84 kB / 0.9928 GB, free: 9.738 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.00366/1.932, allocations: 1.268 MB / 0.994 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007686/1.932, allocations: 184 kB / 0.9942 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.932, allocations: 0 / 0.9942 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003274/1.933, allocations: 87.91 kB / 0.9943 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007862/1.934, allocations: 88.66 kB / 0.9944 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006372/1.94, allocations: 2.693 MB / 0.997 GB, free: 5.492 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.941, allocations: 0.7992 MB / 0.9978 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003325/1.941, allocations: 46.94 kB / 0.9978 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/1.942, allocations: 127.4 kB / 0.998 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of SimCode: time 2.555e-06/1.942, allocations: 0 / 0.998 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0367/1.978, allocations: 6.991 MB / 1.005 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007683/1.979, allocations: 251.5 kB / 1.005 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.443/5.422, allocations: 0 / 1.005 GB, free: 13.39 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