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.245/2.245, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001063/0.001064, allocations: 172.8 kB / 487.4 MB, free: 5.051 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.475/1.475, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008422/0.0008422, allocations: 99.67 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.913e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3092, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.991/1.3, allocations: 155.2 MB / 1.358 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/1.301, allocations: 84.89 kB / 1.358 GB, free: 18.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02355/1.324, allocations: 8.228 MB / 1.366 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.584e-06/1.324, allocations: 0 / 1.366 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.324, allocations: 0 / 1.366 GB, free: 33.36 MB / 0.8386 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.001038/1.325, allocations: 0.5014 MB / 1.366 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.325, allocations: 8.219 kB / 1.366 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/1.327, allocations: 147.2 kB / 1.366 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/1.327, allocations: 174.7 kB / 1.367 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.454e-05/1.327, allocations: 43.84 kB / 1.367 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/1.327, allocations: 10.91 kB / 1.367 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003061/1.327, allocations: 166.5 kB / 1.367 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/1.327, allocations: 162.1 kB / 1.367 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.327, allocations: 3.938 kB / 1.367 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/1.327, allocations: 0 / 1.367 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/1.327, allocations: 7.844 kB / 1.367 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/1.329, allocations: 0.9359 MB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/1.329, allocations: 140.9 kB / 1.368 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/1.329, allocations: 75.3 kB / 1.368 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00055/1.33, allocations: 0.5166 MB / 1.369 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/1.33, allocations: 42.12 kB / 1.369 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/1.33, allocations: 0 / 1.369 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.001294/1.331, allocations: 290.5 kB / 1.369 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/1.331, allocations: 51.41 kB / 1.369 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.569e-05/1.331, allocations: 123.6 kB / 1.369 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/1.331, allocations: 25.7 kB / 1.369 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/1.331, allocations: 124.7 kB / 1.369 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/1.331, allocations: 52.98 kB / 1.369 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/1.331, allocations: 0 / 1.369 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.332, allocations: 323.4 kB / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/1.332, allocations: 67.91 kB / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/1.332, allocations: 89.73 kB / 1.37 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/1.333, allocations: 178.6 kB / 1.37 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/1.333, allocations: 2.953 kB / 1.37 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001203/1.334, allocations: 317.1 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.334, allocations: 3.875 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.334, allocations: 0 / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.334, allocations: 3.938 kB / 1.37 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/1.335, allocations: 57.08 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.335, allocations: 7.922 kB / 1.37 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/1.335, allocations: 28.8 kB / 1.37 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/1.335, allocations: 6.547 kB / 1.37 GB, free: 30.53 MB / 0.8386 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 () * 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.0001084/1.335, allocations: 110.2 kB / 1.37 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001141/1.336, allocations: 286 kB / 1.371 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/1.336, allocations: 15.5 kB / 1.371 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/1.337, allocations: 304.9 kB / 1.371 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/1.337, allocations: 6.734 kB / 1.371 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.337, allocations: 0 / 1.371 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.337, allocations: 0 / 1.371 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/1.339, allocations: 1.077 MB / 1.372 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.34, allocations: 6.906 kB / 1.372 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/1.34, allocations: 50.73 kB / 1.372 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.34, allocations: 3.719 kB / 1.372 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/1.34, allocations: 0 / 1.372 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.34, allocations: 3.719 kB / 1.372 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/1.34, allocations: 4.062 kB / 1.372 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/1.341, allocations: 408.2 kB / 1.372 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/1.341, allocations: 94.75 kB / 1.373 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/1.341, allocations: 2.906 kB / 1.373 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/1.341, allocations: 21.14 kB / 1.373 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/1.342, allocations: 17.31 kB / 1.373 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/1.342, allocations: 3.875 kB / 1.373 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.733e-05/1.342, allocations: 101.5 kB / 1.373 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.342, allocations: 0 / 1.373 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005339/1.342, allocations: 140.4 kB / 1.373 GB, free: 29.11 MB / 0.8386 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) * 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.001944/1.344, allocations: 1.211 MB / 1.374 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003311/1.344, allocations: 165.3 kB / 1.374 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.344, allocations: 0 / 1.374 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/1.345, allocations: 79.38 kB / 1.374 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/1.345, allocations: 27.77 kB / 1.374 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/1.346, allocations: 369.1 kB / 1.375 GB, free: 28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/1.347, allocations: 0.7166 MB / 1.375 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001869/1.347, allocations: 33.06 kB / 1.375 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/1.347, allocations: 46.69 kB / 1.375 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.347, allocations: 0 / 1.375 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/1.375, allocations: 4.68 MB / 1.38 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/1.375, allocations: 178.1 kB / 1.38 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/3.328, allocations: 0 / 1.38 GB, free: 26.17 MB / 0.8386 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