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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.214/2.214, allocations: 390.3 MB / 405.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 181 kB / 498.1 MB, free: 5.539 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.0008856, allocations: 111.9 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004262/0.000426, allocations: 11.34 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3077, allocations: 142.4 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2067/0.5145, allocations: 155.9 MB / 1.375 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.5149, allocations: 87.94 kB / 1.375 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02465/0.5395, allocations: 8.281 MB / 1.383 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5396, allocations: 3.938 kB / 1.383 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.5396, allocations: 4 kB / 1.383 GB, free: 13.67 MB / 0.8855 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.001041/0.5407, allocations: 0.5031 MB / 1.384 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5407, allocations: 8.031 kB / 1.384 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.5408, allocations: 58.53 kB / 1.384 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.5419, allocations: 147.6 kB / 1.384 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.5421, allocations: 174.9 kB / 1.384 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.5422, allocations: 49.69 kB / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.5423, allocations: 16 kB / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.5429, allocations: 221.2 kB / 1.385 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5429, allocations: 3.938 kB / 1.385 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.5429, allocations: 8 kB / 1.385 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.543, allocations: 11.95 kB / 1.385 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.5437, allocations: 239.9 kB / 1.385 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.5454, allocations: 0.9781 MB / 1.386 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.5459, allocations: 166.7 kB / 1.386 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007048/0.5467, allocations: 0.5259 MB / 1.386 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.5467, allocations: 34.62 kB / 1.386 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.5467, allocations: 0 / 1.386 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.001166/0.5479, allocations: 345.5 kB / 1.387 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.5479, allocations: 51.41 kB / 1.387 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.5481, allocations: 151.4 kB / 1.387 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.5481, allocations: 29.7 kB / 1.387 GB, free: 9.586 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.5482, allocations: 124.1 kB / 1.387 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.5483, allocations: 55.23 kB / 1.387 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/0.5483, allocations: 8 kB / 1.387 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5484, allocations: 318.8 kB / 1.387 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.5488, allocations: 108.3 kB / 1.388 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.5492, allocations: 119.3 kB / 1.388 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.5495, allocations: 93.84 kB / 1.388 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5495, allocations: 0 / 1.388 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007715/0.5503, allocations: 285 kB / 1.388 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5503, allocations: 9.047 kB / 1.388 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5503, allocations: 4 kB / 1.388 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.5504, allocations: 0 / 1.388 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.5507, allocations: 51.89 kB / 1.388 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.5508, allocations: 8 kB / 1.388 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.5511, allocations: 35.7 kB / 1.388 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.5511, allocations: 11.98 kB / 1.388 GB, free: 8.355 MB / 0.8855 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.0001298/0.5512, allocations: 117.8 kB / 1.388 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.5513, allocations: 15.91 kB / 1.388 GB, free: 8.215 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008176/0.5521, allocations: 273.3 kB / 1.389 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.5521, allocations: 7.984 kB / 1.389 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.5522, allocations: 0 / 1.389 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5522, allocations: 0 / 1.389 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.5541, allocations: 1.081 MB / 1.39 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5541, allocations: 0 / 1.39 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.5544, allocations: 51.97 kB / 1.39 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.5544, allocations: 3.984 kB / 1.39 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.5545, allocations: 0 / 1.39 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.5545, allocations: 4 kB / 1.39 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5545, allocations: 0 / 1.39 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.5553, allocations: 372.4 kB / 1.39 GB, free: 6.246 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/0.5554, allocations: 100.8 kB / 1.39 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.5554, allocations: 4 kB / 1.39 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.5557, allocations: 31.97 kB / 1.39 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.5558, allocations: 15.97 kB / 1.39 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.5558, allocations: 4 kB / 1.39 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.492e-05/0.5559, allocations: 124.8 kB / 1.39 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5559, allocations: 0 / 1.39 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005992/0.5565, allocations: 143.8 kB / 1.39 GB, free: 5.812 MB / 0.8855 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.001679/0.5582, allocations: 1.182 MB / 1.392 GB, free: 4.586 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007563/0.559, allocations: 231.8 kB / 1.392 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.559, allocations: 0 / 1.392 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.5593, allocations: 115.9 kB / 1.392 GB, free: 4.246 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.5597, allocations: 52.05 kB / 1.392 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.5632, allocations: 1.394 MB / 1.393 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.5635, allocations: 0.7167 MB / 1.394 GB, free: 2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002327/0.5637, allocations: 33.55 kB / 1.394 GB, free: 1.969 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.5639, allocations: 43.42 kB / 1.394 GB, free: 1.93 MB / 0.8855 GB Notification: Performance of SimCode: time 3e-07/0.5639, allocations: 0 / 1.394 GB, free: 1.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.5823, allocations: 5.665 MB / 1.4 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.5825, allocations: 213.4 kB / 1.4 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.529, allocations: 4 kB / 1.4 GB, free: 12.23 MB / 0.9011 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