Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",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.001034/0.001034, allocations: 84.38 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.001312/0.001312, 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.408/1.408, allocations: 223.2 MB / 240 MB, free: 5.426 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.422/2.422, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6452/0.6456, allocations: 142.3 MB / 0.9539 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.001895/0.6475, allocations: 1.697 MB / 0.9555 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.6496, allocations: 1.558 MB / 0.957 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.6497, allocations: 2.406 kB / 0.957 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.75e-05/0.6498, allocations: 8.734 kB / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.6499, allocations: 46.67 kB / 0.9571 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009631/0.6509, allocations: 270.6 kB / 0.9573 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.6511, allocations: 213.1 kB / 0.9575 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.6513, allocations: 30.58 kB / 0.9576 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.6514, allocations: 69.23 kB / 0.9576 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.6516, allocations: 85.7 kB / 0.9577 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.6516, allocations: 13.97 kB / 0.9577 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008083/0.6524, allocations: 384.1 kB / 0.9581 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.6525, allocations: 32.02 kB / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.6525, allocations: 59.45 kB / 0.9582 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.653, allocations: 322.2 kB / 0.9585 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.653, allocations: 0 / 0.9585 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.724e-06/0.653, allocations: 0 / 0.9585 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.653, allocations: 0.9375 kB / 0.9585 GB, free: 4.559 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007986/0.6538, allocations: 0.4889 MB / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.6539, allocations: 9.656 kB / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.088e-05/0.6539, allocations: 52.36 kB / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.655, allocations: 148.4 kB / 0.9592 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.6551, allocations: 179.4 kB / 0.9594 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.781e-05/0.6552, allocations: 51.3 kB / 0.9594 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.6552, allocations: 13.84 kB / 0.9594 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/0.6557, allocations: 217.9 kB / 0.9596 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6558, allocations: 4.875 kB / 0.9596 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.6558, allocations: 10 kB / 0.9596 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.6558, allocations: 7.953 kB / 0.9596 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006402/0.6564, allocations: 240.2 kB / 0.9599 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.6577, allocations: 0.9677 MB / 0.9608 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.6582, allocations: 179.7 kB / 0.961 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.6585, allocations: 108.7 kB / 0.9611 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004913/0.659, allocations: 0.5237 MB / 0.9616 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.659, allocations: 36.84 kB / 0.9616 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/0.659, allocations: 0 / 0.9616 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001081/0.6601, allocations: 342.7 kB / 0.962 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.6601, allocations: 53.53 kB / 0.962 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.6603, allocations: 158.5 kB / 0.9622 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.6603, allocations: 30.8 kB / 0.9622 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.6604, allocations: 118.7 kB / 0.9623 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.6604, allocations: 57.72 kB / 0.9624 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.6604, allocations: 5.188 kB / 0.9624 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.6605, allocations: 322.4 kB / 0.9627 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.6608, allocations: 105 kB / 0.9628 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.6612, allocations: 131 kB / 0.9629 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.6615, allocations: 87.66 kB / 0.963 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6615, allocations: 0 / 0.963 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007333/0.6622, allocations: 285.1 kB / 0.9633 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.6623, allocations: 9.672 kB / 0.9633 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6623, allocations: 0 / 0.9633 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.6623, allocations: 5.875 kB / 0.9633 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.6627, allocations: 52.8 kB / 0.9633 GB, free: 488 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.6627, allocations: 9.016 kB / 0.9633 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.663, allocations: 31.55 kB / 0.9634 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.663, allocations: 9.609 kB / 0.9634 GB, free: 460 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001123/0.6631, allocations: 128.1 kB / 0.9635 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.6632, allocations: 11.81 kB / 0.9635 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007417/0.6639, allocations: 280.4 kB / 0.9638 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.6639, allocations: 1.594 kB / 0.9638 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.664, allocations: 1.156 kB / 0.9638 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.664, allocations: 4 kB / 0.9638 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.6657, allocations: 1.069 MB / 0.9648 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6658, allocations: 0 / 0.9648 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.6661, allocations: 50.73 kB / 0.9649 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/0.6661, allocations: 1.25 kB / 0.9649 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.6661, allocations: 6.344 kB / 0.9649 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.6661, allocations: 2.375 kB / 0.9649 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6662, allocations: 0 / 0.9649 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.6669, allocations: 354.1 kB / 0.9652 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.319e-05/0.667, allocations: 99.98 kB / 0.9653 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.667, allocations: 3.984 kB / 0.9653 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.6673, allocations: 29.3 kB / 0.9653 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.6674, allocations: 11.44 kB / 0.9654 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.6674, allocations: 3.469 kB / 0.9654 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.318e-05/0.6675, allocations: 125.8 kB / 0.9655 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6675, allocations: 0 / 0.9655 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005333/0.6681, allocations: 131.5 kB / 0.9656 GB, free: 14.56 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.001408/0.6695, allocations: 1.014 MB / 0.9666 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007255/0.6702, allocations: 228.6 kB / 0.9668 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6702, allocations: 0 / 0.9668 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.6706, allocations: 115.2 kB / 0.9669 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.671, allocations: 56.03 kB / 0.967 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.6743, allocations: 1.232 MB / 0.9682 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.6746, allocations: 0.7147 MB / 0.9689 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002409/0.6748, allocations: 32.39 kB / 0.9689 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.675, allocations: 42.83 kB / 0.9689 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of SimCode: time 9.32e-07/0.675, allocations: 0 / 0.9689 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.6938, allocations: 5.906 MB / 0.9747 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.694, allocations: 218.2 kB / 0.9749 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.575, allocations: 0 / 0.9749 GB, free: 8.859 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat does not exist to compare? outputFormat=mat