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.0009941/0.000994, allocations: 99.08 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.00105/0.00105, allocations: 177.3 kB / 15.95 MB, free: 216 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.411/1.411, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.438/2.438, allocations: 390.3 MB / 0.6653 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.000483, allocations: 11.98 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.8945, allocations: 142.3 MB / 0.9536 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.002822/0.8974, allocations: 2.388 MB / 0.9559 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.8993, allocations: 1.222 MB / 0.9571 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.8996, allocations: 10.25 kB / 0.9571 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.9, allocations: 105.4 kB / 0.9572 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.9003, allocations: 149.1 kB / 0.9574 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.9009, allocations: 234.7 kB / 0.9576 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.9013, allocations: 288 kB / 0.9579 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.9016, allocations: 127.6 kB / 0.958 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.9018, allocations: 145.5 kB / 0.9581 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.902, allocations: 139.4 kB / 0.9583 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.902, allocations: 13.12 kB / 0.9583 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.9021, allocations: 27.59 kB / 0.9583 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/0.9022, allocations: 60.66 kB / 0.9584 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.376e-05/0.9023, allocations: 87.66 kB / 0.9584 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.9028, allocations: 396.7 kB / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.9028, allocations: 0 / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.348e-06/0.9028, allocations: 0 / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.9028, allocations: 3.938 kB / 0.9588 GB, free: 4.117 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.001176/0.904, allocations: 0.6416 MB / 0.9595 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.904, allocations: 9.625 kB / 0.9595 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.808e-05/0.9041, allocations: 53.42 kB / 0.9595 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.745e-05/0.9042, allocations: 49.39 kB / 0.9596 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.9048, allocations: 391.6 kB / 0.9599 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.9049, allocations: 23.56 kB / 0.96 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.905, allocations: 23.12 kB / 0.96 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005741/0.9055, allocations: 265.7 kB / 0.9602 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.9056, allocations: 0 / 0.9602 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.9056, allocations: 11.19 kB / 0.9602 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.9056, allocations: 10.27 kB / 0.9603 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.9061, allocations: 204.7 kB / 0.9605 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.9076, allocations: 0.874 MB / 0.9613 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007832/0.9084, allocations: 228.7 kB / 0.9615 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.9085, allocations: 3.031 kB / 0.9615 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.9089, allocations: 146.3 kB / 0.9617 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.9089, allocations: 0 / 0.9617 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0008267/0.9097, allocations: 301.3 kB / 0.962 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.9098, allocations: 53.75 kB / 0.962 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006169/0.9104, allocations: 411.7 kB / 0.9624 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.9105, allocations: 31.23 kB / 0.9624 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.9106, allocations: 213.1 kB / 0.9626 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.9107, allocations: 63.91 kB / 0.9627 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.9107, allocations: 5.031 kB / 0.9627 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.9108, allocations: 348.4 kB / 0.963 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.911, allocations: 71.14 kB / 0.9631 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.9113, allocations: 121.9 kB / 0.9632 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.9115, allocations: 74.08 kB / 0.9633 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9115, allocations: 1.188 kB / 0.9633 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005396/0.912, allocations: 264.8 kB / 0.9635 GB, free: 428 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.9121, allocations: 7.094 kB / 0.9635 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.9121, allocations: 6.203 kB / 0.9635 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.9121, allocations: 1.844 kB / 0.9636 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.9123, allocations: 52.12 kB / 0.9636 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.9124, allocations: 2.969 kB / 0.9636 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.9125, allocations: 24.97 kB / 0.9636 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.9126, allocations: 10.27 kB / 0.9636 GB, free: 388 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.0001812/0.9127, allocations: 168 kB / 0.9638 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.9128, allocations: 41.55 kB / 0.9638 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.707e-05/0.9129, allocations: 38.94 kB / 0.9639 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.9129, allocations: 7.328 kB / 0.9639 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.9129, allocations: 0 / 0.9639 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.9129, allocations: 7.938 kB / 0.9639 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.914, allocations: 0.675 MB / 0.9645 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.914, allocations: 0 / 0.9645 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.9142, allocations: 35.69 kB / 0.9646 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.9142, allocations: 3.953 kB / 0.9646 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.9142, allocations: 6.438 kB / 0.9646 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.9142, allocations: 1.031 kB / 0.9646 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9142, allocations: 0 / 0.9646 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008088/0.9151, allocations: 427.4 kB / 0.965 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.9152, allocations: 136.5 kB / 0.9651 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.9153, allocations: 10.39 kB / 0.9651 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.9155, allocations: 13.61 kB / 0.9652 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.9155, allocations: 15.41 kB / 0.9652 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.9156, allocations: 13.31 kB / 0.9652 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003869/0.916, allocations: 293.5 kB / 0.9655 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.916, allocations: 1.094 kB / 0.9655 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003787/0.9164, allocations: 59.88 kB / 0.9655 GB, free: 14.96 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.002103/0.9185, allocations: 1.272 MB / 0.9668 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.919, allocations: 185.5 kB / 0.9669 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.919, allocations: 3.938 kB / 0.9669 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.9193, allocations: 89.41 kB / 0.967 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.9198, allocations: 81.67 kB / 0.9671 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.9235, allocations: 2.69 MB / 0.9697 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.9238, allocations: 0.8091 MB / 0.9705 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.924, allocations: 47.17 kB / 0.9706 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.9242, allocations: 122.6 kB / 0.9707 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of SimCode: time 1.613e-06/0.9242, allocations: 0 / 0.9707 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.9428, allocations: 6.988 MB / 0.9775 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/0.943, allocations: 248 kB / 0.9777 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.812, allocations: 0 / 0.9777 GB, free: 7.305 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