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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.009055/0.009055, allocations: 101.2 kB / 15.73 MB, free: 5.586 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.001797/0.001797, allocations: 187.2 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 72.02 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7275/0.729, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00394/0.7329, allocations: 2.039 MB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002655/0.7356, allocations: 1.666 MB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.7358, allocations: 2.062 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.543e-05/0.736, allocations: 18.75 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.7362, allocations: 57.8 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.7382, allocations: 354.5 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005405/0.7388, allocations: 232.6 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002731/0.7391, allocations: 57.16 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.7394, allocations: 79.94 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.7398, allocations: 95.25 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.805e-05/0.7399, allocations: 19.16 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.7417, allocations: 415.2 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.7418, allocations: 43.12 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.7421, allocations: 90.81 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.744, allocations: 433 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.744, allocations: 4 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.744, allocations: 0.8438 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.744, allocations: 0 / 1.093 GB, free: 1.871 MB / 0.8575 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.001681/0.7457, allocations: 0.526 MB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.7458, allocations: 9.969 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.061e-05/0.7459, allocations: 55.8 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.7476, allocations: 137.1 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.7479, allocations: 182.6 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.748, allocations: 57.86 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.305e-05/0.7481, allocations: 15.16 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.7491, allocations: 216.6 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.7492, allocations: 5.547 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.7492, allocations: 5.562 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.7492, allocations: 3.625 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.7504, allocations: 232.8 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.7527, allocations: 0.9551 MB / 1.095 GB, free: 80 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008186/0.7536, allocations: 182.4 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005604/0.7542, allocations: 117.1 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009558/0.7552, allocations: 0.5288 MB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.7552, allocations: 36.78 kB / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=16): time 3.106e-06/0.7552, allocations: 0 / 1.096 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=16): time 0.002012/0.7573, allocations: 331.4 kB / 1.096 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.7574, allocations: 54.31 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.7576, allocations: 161.8 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.7577, allocations: 30.86 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.7578, allocations: 115.6 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.085e-05/0.7579, allocations: 58.64 kB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.7581, allocations: 39.92 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7582, allocations: 330 kB / 1.097 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/0.7589, allocations: 99.92 kB / 1.097 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.7594, allocations: 128 kB / 1.097 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.7605, allocations: 195.6 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7605, allocations: 4 kB / 1.098 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001407/0.7619, allocations: 271.2 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.762, allocations: 6.328 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.762, allocations: 1.062 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.762, allocations: 5.031 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/0.7625, allocations: 50.52 kB / 1.098 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.7626, allocations: 5.594 kB / 1.098 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/0.7631, allocations: 37.45 kB / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.7632, allocations: 9.656 kB / 1.098 GB, free: 14.15 MB / 0.8731 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 (com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.7634, allocations: 124.3 kB / 1.098 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.7634, allocations: 17.11 kB / 1.098 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000961/0.7644, allocations: 267.7 kB / 1.098 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.7644, allocations: 6.188 kB / 1.098 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7644, allocations: 0.7031 kB / 1.098 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.7644, allocations: 1.734 kB / 1.098 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.7664, allocations: 1.066 MB / 1.099 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7664, allocations: 1.312 kB / 1.099 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.7668, allocations: 42.78 kB / 1.099 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.7668, allocations: 5.531 kB / 1.099 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.7668, allocations: 7.531 kB / 1.099 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.7668, allocations: 2 kB / 1.099 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.7668, allocations: 5.297 kB / 1.099 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008301/0.7677, allocations: 352.9 kB / 1.1 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.7677, allocations: 90.75 kB / 1.1 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.7678, allocations: 10.73 kB / 1.1 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.7681, allocations: 20.98 kB / 1.1 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.7682, allocations: 18.09 kB / 1.1 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.7682, allocations: 5.281 kB / 1.1 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001198/0.7683, allocations: 119.9 kB / 1.1 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7683, allocations: 0.9062 kB / 1.1 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005754/0.7689, allocations: 129.8 kB / 1.1 GB, free: 12.48 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001536/0.7705, allocations: 1.006 MB / 1.101 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008404/0.7713, allocations: 236.8 kB / 1.101 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.7713, allocations: 0 / 1.101 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000386/0.7717, allocations: 117.3 kB / 1.101 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.7722, allocations: 42.19 kB / 1.101 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005376/0.7776, allocations: 2.369 MB / 1.104 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.7779, allocations: 0.7131 MB / 1.104 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.7781, allocations: 30.58 kB / 1.105 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.7782, allocations: 43.83 kB / 1.105 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of SimCode: time 1.833e-06/0.7782, allocations: 0 / 1.105 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0922/0.8704, allocations: 6.349 MB / 1.111 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.667/9.538, allocations: 4.219 kB / 1.111 GB, free: 8.469 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches