Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_10_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.006558/0.006558, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001491/0.001492, allocations: 197 kB / 16.67 MB, free: 5.973 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2667, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003089/0.2699, allocations: 2.04 MB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.2721, allocations: 1.664 MB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.2721, allocations: 4 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.099e-05/0.2722, allocations: 15.84 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.2723, allocations: 55.48 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009279/0.2733, allocations: 358.8 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.2735, allocations: 231 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.2737, allocations: 49.53 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.735e-05/0.2738, allocations: 79.83 kB / 1.171 GB, free: 2.785 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.2739, allocations: 95.61 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.274, allocations: 24 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.2747, allocations: 415.5 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.2748, allocations: 47.84 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.941e-05/0.2749, allocations: 87.64 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005923/0.2755, allocations: 434.9 kB / 1.172 GB, free: 1.703 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2755, allocations: 3.938 kB / 1.172 GB, free: 1.699 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2755, allocations: 0 / 1.172 GB, free: 1.699 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.2755, allocations: 0 / 1.172 GB, free: 1.699 MB / 0.92 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.0007971/0.2763, allocations: 0.5374 MB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2763, allocations: 8.031 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.144e-05/0.2764, allocations: 54.67 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009973/0.2774, allocations: 140.7 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2775, allocations: 176.2 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-05/0.2776, allocations: 54.25 kB / 1.173 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.2777, allocations: 12.38 kB / 1.173 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.2782, allocations: 221.8 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2782, allocations: 0 / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.2782, allocations: 8 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2783, allocations: 4 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006738/0.2789, allocations: 235.6 kB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.2803, allocations: 0.9778 MB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.2807, allocations: 182.6 kB / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.2811, allocations: 118.2 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006013/0.2817, allocations: 0.5142 MB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.2817, allocations: 34.56 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.2817, allocations: 4 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.00106/0.2828, allocations: 333.6 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.2828, allocations: 55.41 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.283, allocations: 160.9 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.283, allocations: 29.69 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.2831, allocations: 116.3 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.2831, allocations: 59.48 kB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.006e-05/0.2832, allocations: 41.7 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.2833, allocations: 322.8 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.2836, allocations: 103.9 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.284, allocations: 128.5 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.2846, allocations: 193.6 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2846, allocations: 0 / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007225/0.2853, allocations: 275.5 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2853, allocations: 8.031 kB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2854, allocations: 0 / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.2854, allocations: 11.92 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.2857, allocations: 47.91 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2858, allocations: 0 / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/0.286, allocations: 39.86 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.286, allocations: 4 kB / 1.177 GB, free: 12.12 MB / 0.9356 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.000112/0.2862, allocations: 129.8 kB / 1.177 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.2862, allocations: 11.91 kB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00078/0.287, allocations: 272.1 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.287, allocations: 3.938 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.287, allocations: 4 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.287, allocations: 7.922 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.2887, allocations: 1.081 MB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2887, allocations: 3.938 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.289, allocations: 35.97 kB / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.289, allocations: 4 kB / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.2891, allocations: 12.05 kB / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.2891, allocations: 4 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2891, allocations: 0 / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.2898, allocations: 346.4 kB / 1.178 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.2899, allocations: 89 kB / 1.179 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.2899, allocations: 11.98 kB / 1.179 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.2902, allocations: 19.98 kB / 1.179 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.2903, allocations: 15.97 kB / 1.179 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.2903, allocations: 8 kB / 1.179 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.162e-05/0.2904, allocations: 122.1 kB / 1.179 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2904, allocations: 4 kB / 1.179 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004304/0.2908, allocations: 131.6 kB / 1.179 GB, free: 9.625 MB / 0.9356 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.001238/0.2921, allocations: 1.006 MB / 1.18 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007171/0.2928, allocations: 235.7 kB / 1.18 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.2928, allocations: 4 kB / 1.18 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.2931, allocations: 107.9 kB / 1.18 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.2936, allocations: 50.38 kB / 1.18 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.298, allocations: 2.363 MB / 1.183 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.2983, allocations: 0.7086 MB / 1.183 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.2984, allocations: 41.69 kB / 1.183 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.2985, allocations: 39.42 kB / 1.183 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.2986, allocations: 4 kB / 1.183 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.3208, allocations: 6.341 MB / 1.189 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.968, allocations: 14.59 kB / 1.19 GB, free: 14.73 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches