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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_9_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.00093/0.0009303, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008588/0.000859, allocations: 172.7 kB / 15.95 MB, free: 208 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.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 8 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.882/0.8824, allocations: 142.3 MB / 0.9539 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003188/0.8856, allocations: 2.399 MB / 0.9562 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.8883, allocations: 1.24 MB / 0.9574 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.8887, allocations: 11.56 kB / 0.9574 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.8893, allocations: 124.9 kB / 0.9575 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.8896, allocations: 113.4 kB / 0.9576 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006761/0.8903, allocations: 228.3 kB / 0.9579 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004331/0.8907, allocations: 411.4 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.891, allocations: 136 kB / 0.9584 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.8912, allocations: 130.5 kB / 0.9585 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.8914, allocations: 148.7 kB / 0.9587 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.8914, allocations: 8.25 kB / 0.9587 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.8916, allocations: 37.38 kB / 0.9587 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.8917, allocations: 60.12 kB / 0.9588 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.8917, allocations: 91.22 kB / 0.9588 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.8921, allocations: 402.1 kB / 0.9592 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.8921, allocations: 4 kB / 0.9592 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8921, allocations: 0 / 0.9592 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.8921, allocations: 0 / 0.9592 GB, free: 3.926 MB / 0.7169 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.001034/0.8932, allocations: 0.633 MB / 0.9598 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.8932, allocations: 13.81 kB / 0.9599 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.8933, allocations: 59.39 kB / 0.9599 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.906e-05/0.8934, allocations: 52.38 kB / 0.96 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.894, allocations: 383.7 kB / 0.9603 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.894, allocations: 17.78 kB / 0.9603 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.8941, allocations: 28.34 kB / 0.9604 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.8946, allocations: 275.9 kB / 0.9606 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.8946, allocations: 0 / 0.9606 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.8947, allocations: 6.75 kB / 0.9606 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.8947, allocations: 5.5 kB / 0.9606 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.8951, allocations: 194.3 kB / 0.9608 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.8966, allocations: 0.8841 MB / 0.9617 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008663/0.8975, allocations: 226.2 kB / 0.9619 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.8978, allocations: 93.09 kB / 0.962 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/0.8978, allocations: 2.25 kB / 0.962 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000442/0.8983, allocations: 137.4 kB / 0.9621 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 3.447e-06/0.8983, allocations: 3.938 kB / 0.9621 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0008749/0.8992, allocations: 297.2 kB / 0.9624 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.8992, allocations: 53.78 kB / 0.9625 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006513/0.8999, allocations: 416.1 kB / 0.9629 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.8999, allocations: 27.11 kB / 0.9629 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.9001, allocations: 217.7 kB / 0.9631 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.77e-05/0.9002, allocations: 59.58 kB / 0.9632 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.9002, allocations: 9.125 kB / 0.9632 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.9004, allocations: 347.5 kB / 0.9635 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.9006, allocations: 68.61 kB / 0.9636 GB, free: 472 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.9008, allocations: 115.4 kB / 0.9637 GB, free: 384 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.9011, allocations: 86.55 kB / 0.9638 GB, free: 340 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.9011, allocations: 0 / 0.9638 GB, free: 340 kB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006199/0.9017, allocations: 260.6 kB / 0.964 GB, free: 196 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.9018, allocations: 9.922 kB / 0.964 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.9018, allocations: 1.125 kB / 0.964 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.9018, allocations: 6.75 kB / 0.964 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.9021, allocations: 47.91 kB / 0.9641 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.9021, allocations: 2.875 kB / 0.9641 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.9023, allocations: 29.14 kB / 0.9641 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.9023, allocations: 10.56 kB / 0.9641 GB, free: 152 kB / 0.7169 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.000207/0.9025, allocations: 168.8 kB / 0.9643 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.9026, allocations: 36.86 kB / 0.9643 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.9027, allocations: 51.69 kB / 0.9644 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.9028, allocations: 2.531 kB / 0.9644 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.9028, allocations: 0 / 0.9644 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.9028, allocations: 0 / 0.9644 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.904, allocations: 0.6852 MB / 0.965 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.904, allocations: 0 / 0.965 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.9041, allocations: 38.09 kB / 0.9651 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.9042, allocations: 1.5 kB / 0.9651 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.9042, allocations: 9.484 kB / 0.9651 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.9042, allocations: 5.391 kB / 0.9651 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.9042, allocations: 4 kB / 0.9651 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009398/0.9052, allocations: 421.6 kB / 0.9655 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.9053, allocations: 132.9 kB / 0.9656 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.9054, allocations: 14.55 kB / 0.9656 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.9055, allocations: 12.77 kB / 0.9656 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/0.9056, allocations: 19.38 kB / 0.9657 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.9057, allocations: 5.906 kB / 0.9657 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004408/0.9061, allocations: 289.7 kB / 0.9659 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9061, allocations: 0 / 0.9659 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004106/0.9065, allocations: 71.89 kB / 0.966 GB, free: 14.71 MB / 0.7325 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.002227/0.9088, allocations: 1.263 MB / 0.9672 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005697/0.9094, allocations: 177.2 kB / 0.9674 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9094, allocations: 1.156 kB / 0.9674 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.9096, allocations: 89.69 kB / 0.9675 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006362/0.9103, allocations: 82.66 kB / 0.9676 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.914, allocations: 1.974 MB / 0.9695 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.9145, allocations: 0.8003 MB / 0.9703 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002328/0.9147, allocations: 45.69 kB / 0.9703 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.9149, allocations: 122.7 kB / 0.9704 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of SimCode: time 3.768e-06/0.915, allocations: 1.188 kB / 0.9704 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.9363, allocations: 7.006 MB / 0.9773 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.9365, allocations: 247.5 kB / 0.9775 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.871, allocations: 2.109 kB / 0.9775 GB, free: 7.684 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat does not exist to compare? outputFormat=mat