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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007587/0.007587, allocations: 97.39 kB / 15.73 MB, free: 6.004 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.002039/0.00204, allocations: 199.9 kB / 16.68 MB, free: 5.934 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 482.4 MB / 0.7548 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2893, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003329/0.2926, allocations: 2.043 MB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002561/0.2952, allocations: 1.667 MB / 1.245 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.675e-05/0.2954, allocations: 8 kB / 1.245 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.615e-05/0.2955, allocations: 19.78 kB / 1.245 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.2956, allocations: 47.56 kB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.2967, allocations: 358.8 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.297, allocations: 227.1 kB / 1.246 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.2972, allocations: 49.53 kB / 1.246 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.2973, allocations: 83.72 kB / 1.246 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.2975, allocations: 95.66 kB / 1.246 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.975e-05/0.2975, allocations: 20 kB / 1.246 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008934/0.2984, allocations: 419.5 kB / 1.246 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.2985, allocations: 43.91 kB / 1.246 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.2986, allocations: 83.66 kB / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.2993, allocations: 442.6 kB / 1.247 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2993, allocations: 0 / 1.247 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2993, allocations: 0 / 1.247 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.2994, allocations: 4 kB / 1.247 GB, free: 4.645 MB / 0.9981 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.0009251/0.3003, allocations: 0.5335 MB / 1.247 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3003, allocations: 15.97 kB / 1.247 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.766e-05/0.3004, allocations: 50.73 kB / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.3016, allocations: 136.7 kB / 1.248 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3017, allocations: 176.2 kB / 1.248 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-05/0.3018, allocations: 54.25 kB / 1.248 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.3019, allocations: 16.31 kB / 1.248 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/0.3025, allocations: 217.8 kB / 1.248 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3025, allocations: 0 / 1.248 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.3025, allocations: 8 kB / 1.248 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.3025, allocations: 4 kB / 1.248 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.3033, allocations: 235.6 kB / 1.248 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.3049, allocations: 0.9703 MB / 1.249 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.3054, allocations: 194.6 kB / 1.249 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/0.3058, allocations: 108.8 kB / 1.25 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008145/0.3067, allocations: 0.5259 MB / 1.25 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.3067, allocations: 30.56 kB / 1.25 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.3067, allocations: 0 / 1.25 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.001353/0.3081, allocations: 331.9 kB / 1.25 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.3081, allocations: 55.41 kB / 1.25 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.3083, allocations: 165.3 kB / 1.251 GB, free: 468 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.3084, allocations: 29.7 kB / 1.251 GB, free: 432 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.3085, allocations: 120.3 kB / 1.251 GB, free: 304 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.3086, allocations: 59.48 kB / 1.251 GB, free: 244 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.3087, allocations: 41.7 kB / 1.251 GB, free: 196 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.524/0.8328, allocations: 321.3 kB / 1.251 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.8333, allocations: 99.48 kB / 1.251 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.8336, allocations: 125.7 kB / 1.251 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/0.8343, allocations: 198 kB / 1.252 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8343, allocations: 0.6562 kB / 1.252 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008309/0.8352, allocations: 273.3 kB / 1.252 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.8352, allocations: 5.969 kB / 1.252 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8352, allocations: 0.75 kB / 1.252 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.8352, allocations: 2.078 kB / 1.252 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.8356, allocations: 56.53 kB / 1.252 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.8356, allocations: 1.562 kB / 1.252 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.8359, allocations: 32.8 kB / 1.252 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.836, allocations: 9.094 kB / 1.252 GB, free: 14.82 MB / 0.9981 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 9.696e-05/0.8361, allocations: 131.1 kB / 1.252 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.8361, allocations: 14.78 kB / 1.252 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008339/0.837, allocations: 263.2 kB / 1.252 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.837, allocations: 2.344 kB / 1.252 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.837, allocations: 4.359 kB / 1.252 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.837, allocations: 1.359 kB / 1.252 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.8387, allocations: 1.064 MB / 1.253 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8387, allocations: 7.281 kB / 1.253 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.839, allocations: 43.16 kB / 1.253 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.839, allocations: 2.281 kB / 1.253 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.839, allocations: 2.75 kB / 1.253 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.839, allocations: 1.531 kB / 1.253 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8391, allocations: 4.25 kB / 1.253 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.8398, allocations: 354.5 kB / 1.254 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/0.8399, allocations: 88.52 kB / 1.254 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.8399, allocations: 7.656 kB / 1.254 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.8402, allocations: 25.48 kB / 1.254 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.8403, allocations: 19.88 kB / 1.254 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.8403, allocations: 5.469 kB / 1.254 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.755e-05/0.8404, allocations: 121.2 kB / 1.254 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8404, allocations: 3.906 kB / 1.254 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004587/0.8409, allocations: 138.2 kB / 1.254 GB, free: 13.54 MB / 0.9981 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.001252/0.8421, allocations: 1.003 MB / 1.255 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000805/0.8429, allocations: 230.8 kB / 1.255 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.843, allocations: 0 / 1.255 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.8433, allocations: 119.8 kB / 1.255 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.8438, allocations: 52.78 kB / 1.256 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004865/0.8486, allocations: 2.361 MB / 1.258 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.8488, allocations: 0.7147 MB / 1.259 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001909/0.849, allocations: 28.95 kB / 1.259 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.8491, allocations: 43.98 kB / 1.259 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.62e-07/0.8491, allocations: 4 kB / 1.259 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.8775, allocations: 6.349 MB / 1.265 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.805, allocations: 21.23 kB / 1.265 GB, free: 9.742 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches