Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_latest_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.00117/0.00117, 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.001289/0.001289, 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.235/1.235, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.403/2.403, allocations: 409.2 MB / 0.6838 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003915, allocations: 16 kB / 0.8375 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7515/0.7519, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001828/0.7538, allocations: 1.636 MB / 0.9825 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.7557, allocations: 1.482 MB / 0.9839 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.7557, allocations: 0 / 0.9839 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.926e-05/0.7558, allocations: 15.86 kB / 0.9839 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.325e-05/0.7559, allocations: 51.88 kB / 0.984 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007001/0.7566, allocations: 275.2 kB / 0.9842 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.7568, allocations: 147.7 kB / 0.9844 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.7569, allocations: 41.7 kB / 0.9844 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.757, allocations: 71.83 kB / 0.9845 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.7571, allocations: 83.67 kB / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.7571, allocations: 12 kB / 0.9846 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006348/0.7578, allocations: 383.5 kB / 0.9849 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.7578, allocations: 31.89 kB / 0.985 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.7579, allocations: 61.58 kB / 0.985 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.7582, allocations: 317.5 kB / 0.9853 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.7583, allocations: 0 / 0.9853 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7583, allocations: 0 / 0.9853 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7583, allocations: 0 / 0.9853 GB, free: 1.656 MB / 0.7325 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.0007025/0.759, allocations: 0.4965 MB / 0.9858 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.759, allocations: 12.03 kB / 0.9858 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.7591, allocations: 54.55 kB / 0.9859 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.7601, allocations: 147.7 kB / 0.986 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.7603, allocations: 182.8 kB / 0.9862 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/0.7603, allocations: 49.69 kB / 0.9862 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.7604, allocations: 19.94 kB / 0.9863 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.7609, allocations: 225 kB / 0.9865 GB, free: 384 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.7609, allocations: 0 / 0.9865 GB, free: 384 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.7609, allocations: 8 kB / 0.9865 GB, free: 376 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.761, allocations: 4 kB / 0.9865 GB, free: 372 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006967/0.7617, allocations: 231.9 kB / 0.9867 GB, free: 140 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.763, allocations: 0.9702 MB / 0.9877 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.7635, allocations: 182.7 kB / 0.9878 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006555/0.7641, allocations: 0.5181 MB / 0.9883 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.7642, allocations: 34.56 kB / 0.9884 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=16): time 1.883e-06/0.7642, allocations: 0 / 0.9884 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=16): time 0.001125/0.7653, allocations: 343.5 kB / 0.9887 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.7653, allocations: 55.41 kB / 0.9888 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.7655, allocations: 160.6 kB / 0.9889 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.7655, allocations: 25.7 kB / 0.9889 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.7656, allocations: 124.1 kB / 0.989 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.7657, allocations: 51.27 kB / 0.9891 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.7657, allocations: 0 / 0.9891 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7658, allocations: 334.8 kB / 0.9894 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.7661, allocations: 100.3 kB / 0.9895 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.7665, allocations: 126.6 kB / 0.9896 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.7668, allocations: 98.36 kB / 0.9897 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7668, allocations: 0 / 0.9897 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007337/0.7675, allocations: 277.4 kB / 0.99 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.7676, allocations: 9.406 kB / 0.99 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7676, allocations: 4.031 kB / 0.99 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.7676, allocations: 0 / 0.99 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.768, allocations: 55.89 kB / 0.9901 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.768, allocations: 4 kB / 0.9901 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.7683, allocations: 35.77 kB / 0.9901 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.7683, allocations: 11.98 kB / 0.9901 GB, free: 12.35 MB / 0.7481 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.0001085/0.7684, allocations: 121.8 kB / 0.9902 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.7684, allocations: 15.81 kB / 0.9902 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007986/0.7693, allocations: 275.9 kB / 0.9905 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7693, allocations: 0 / 0.9905 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7693, allocations: 0 / 0.9905 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.7693, allocations: 3.938 kB / 0.9905 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.771, allocations: 1.07 MB / 0.9916 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.771, allocations: 0 / 0.9916 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.7713, allocations: 51.89 kB / 0.9916 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.7713, allocations: 4.062 kB / 0.9916 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.7713, allocations: 4 kB / 0.9916 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.7713, allocations: 0 / 0.9916 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7713, allocations: 0 / 0.9916 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/0.7721, allocations: 387.4 kB / 0.992 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.7721, allocations: 92.86 kB / 0.9921 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.7722, allocations: 7.984 kB / 0.9921 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.7725, allocations: 23.94 kB / 0.9921 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.7726, allocations: 19.97 kB / 0.9921 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.7726, allocations: 8 kB / 0.9921 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.393e-05/0.7727, allocations: 116.9 kB / 0.9922 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7727, allocations: 3.938 kB / 0.9922 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000463/0.7731, allocations: 135.9 kB / 0.9924 GB, free: 9.82 MB / 0.7481 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.001311/0.7745, allocations: 1.165 MB / 0.9935 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007167/0.7752, allocations: 235.8 kB / 0.9937 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7752, allocations: 0 / 0.9937 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.7755, allocations: 116.1 kB / 0.9938 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.7758, allocations: 39.97 kB / 0.9939 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.7794, allocations: 1.431 MB / 0.9953 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.7796, allocations: 0.7206 MB / 0.996 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000192/0.7798, allocations: 33.47 kB / 0.996 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.78, allocations: 43.42 kB / 0.9961 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of SimCode: time 3.2e-07/0.78, allocations: 7.938 kB / 0.9961 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4645/1.244, allocations: 5.876 MB / 1.002 GB, free: 256 kB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/1.245, allocations: 200.9 kB / 1.002 GB, free: 12 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/3.707, allocations: 4 kB / 1.002 GB, free: 8 kB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat does not exist to compare? outputFormat=mat