Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",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.00105/0.001051, allocations: 99.86 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.0009669/0.000967, allocations: 177.3 kB / 15.94 MB, free: 228 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.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.328 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.41/2.41, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005307/0.0005308, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7268/0.7274, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002528/0.7299, allocations: 1.628 MB / 0.9552 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002807/0.7328, allocations: 1.484 MB / 0.9566 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.733, allocations: 2.406 kB / 0.9566 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.448e-05/0.733, allocations: 14.11 kB / 0.9566 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.7332, allocations: 54.8 kB / 0.9567 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.7345, allocations: 269.8 kB / 0.957 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.7348, allocations: 148.7 kB / 0.9571 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.735, allocations: 41.58 kB / 0.9571 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.7351, allocations: 68.72 kB / 0.9572 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.7353, allocations: 85.47 kB / 0.9573 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.7353, allocations: 10.84 kB / 0.9573 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.7364, allocations: 384.2 kB / 0.9577 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.7365, allocations: 30.75 kB / 0.9577 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.411e-05/0.7365, allocations: 59.72 kB / 0.9577 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.7371, allocations: 311.7 kB / 0.958 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.7372, allocations: 5.375 kB / 0.958 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.148e-06/0.7372, allocations: 0 / 0.958 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.7372, allocations: 3.938 kB / 0.9581 GB, free: 4.793 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.0008269/0.738, allocations: 0.4924 MB / 0.9585 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.7381, allocations: 9.219 kB / 0.9585 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.371e-05/0.7382, allocations: 52.8 kB / 0.9586 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.7393, allocations: 152.8 kB / 0.9587 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.7394, allocations: 174.7 kB / 0.9589 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.37e-05/0.7395, allocations: 54.91 kB / 0.959 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.7396, allocations: 14.16 kB / 0.959 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.7401, allocations: 222.3 kB / 0.9592 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.7402, allocations: 0 / 0.9592 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.7402, allocations: 5.094 kB / 0.9592 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.7402, allocations: 8.703 kB / 0.9592 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007397/0.741, allocations: 232.6 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.7423, allocations: 0.9714 MB / 0.9604 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.7428, allocations: 175.8 kB / 0.9605 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000542/0.7433, allocations: 0.5203 MB / 0.961 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.7434, allocations: 43.61 kB / 0.9611 GB, free: 2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.7434, allocations: 0.9688 kB / 0.9611 GB, free: 2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001172/0.7445, allocations: 336.1 kB / 0.9614 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.7446, allocations: 61.22 kB / 0.9615 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.7447, allocations: 153.9 kB / 0.9616 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.7447, allocations: 31.7 kB / 0.9616 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.7448, allocations: 122.2 kB / 0.9618 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.7449, allocations: 50.17 kB / 0.9618 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/0.7449, allocations: 4.969 kB / 0.9618 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.508e-05/0.745, allocations: 325.7 kB / 0.9621 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.7453, allocations: 101.6 kB / 0.9622 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.7457, allocations: 133.9 kB / 0.9623 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.746, allocations: 92.19 kB / 0.9624 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7461, allocations: 0 / 0.9624 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007918/0.7469, allocations: 276.4 kB / 0.9627 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.7469, allocations: 8.609 kB / 0.9627 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.7469, allocations: 1.219 kB / 0.9627 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.7469, allocations: 5.406 kB / 0.9627 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.7473, allocations: 48.91 kB / 0.9628 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.7474, allocations: 8.734 kB / 0.9628 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.7477, allocations: 38.98 kB / 0.9628 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.7477, allocations: 5.094 kB / 0.9628 GB, free: 0.7461 MB / 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.0001275/0.7479, allocations: 134.8 kB / 0.9629 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.7479, allocations: 11.25 kB / 0.9629 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009022/0.7488, allocations: 278.1 kB / 0.9632 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.7488, allocations: 1.781 kB / 0.9632 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7488, allocations: 0 / 0.9632 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.7489, allocations: 0.9688 kB / 0.9632 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.751, allocations: 1.072 MB / 0.9643 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.751, allocations: 0 / 0.9643 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.7514, allocations: 44.05 kB / 0.9643 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.7514, allocations: 1.094 kB / 0.9643 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.7514, allocations: 10.44 kB / 0.9643 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.7514, allocations: 1.5 kB / 0.9643 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.7514, allocations: 0 / 0.9643 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009164/0.7524, allocations: 374.5 kB / 0.9647 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.7525, allocations: 96.69 kB / 0.9648 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.7525, allocations: 6.469 kB / 0.9648 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.7529, allocations: 26 kB / 0.9648 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.7529, allocations: 18.25 kB / 0.9648 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.7529, allocations: 7.938 kB / 0.9648 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001019/0.7531, allocations: 125.8 kB / 0.9649 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7531, allocations: 1.438 kB / 0.9649 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005957/0.7537, allocations: 129.2 kB / 0.9651 GB, free: 14.82 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.001598/0.7553, allocations: 1.173 MB / 0.9662 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008262/0.7561, allocations: 228.9 kB / 0.9664 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7561, allocations: 1.031 kB / 0.9664 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.7565, allocations: 114.4 kB / 0.9665 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.7569, allocations: 56.42 kB / 0.9666 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004154/0.7611, allocations: 1.442 MB / 0.968 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.7614, allocations: 0.7156 MB / 0.9687 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002359/0.7616, allocations: 37.81 kB / 0.9687 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.7618, allocations: 42.86 kB / 0.9688 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of SimCode: time 1.503e-06/0.7618, allocations: 4 kB / 0.9688 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.7819, allocations: 5.875 MB / 0.9745 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/0.7823, allocations: 195.7 kB / 0.9747 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.572, allocations: 0 / 0.9747 GB, free: 8.75 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat does not exist to compare? outputFormat=mat