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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001149/0.001149, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 469.4 MB / 0.742 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 64.67 kB / 0.9083 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.275, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003051/0.278, allocations: 2.05 MB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.2803, allocations: 1.674 MB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.2803, allocations: 0 / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.108e-05/0.2804, allocations: 19.8 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.804e-05/0.2805, allocations: 51.55 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009376/0.2815, allocations: 354.8 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.2817, allocations: 227.2 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.2818, allocations: 54.92 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.2819, allocations: 87.72 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.2821, allocations: 95.66 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.2821, allocations: 20 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007178/0.2828, allocations: 391.5 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.2829, allocations: 51.88 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.637e-05/0.283, allocations: 91.59 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005543/0.2835, allocations: 431.2 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2835, allocations: 8 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2836, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.2836, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 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.0008713/0.2844, allocations: 0.5225 MB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.2845, allocations: 8.031 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.134e-05/0.2846, allocations: 54.73 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.2857, allocations: 136.6 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2858, allocations: 172.3 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.006e-05/0.2859, allocations: 54.25 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.286, allocations: 16.38 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.2865, allocations: 221.5 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2866, allocations: 4 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.2866, allocations: 8 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.2866, allocations: 4 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.2873, allocations: 231.8 kB / 1.07 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.2887, allocations: 0.9624 MB / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.2892, allocations: 182.6 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.2895, allocations: 104.8 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/0.2902, allocations: 0.522 MB / 1.072 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.2902, allocations: 30.56 kB / 1.072 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.2902, allocations: 0 / 1.072 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001147/0.2914, allocations: 343.2 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.2914, allocations: 55.34 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.2915, allocations: 160.9 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.2916, allocations: 29.7 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.2916, allocations: 124.1 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.2917, allocations: 51.2 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.2918, allocations: 41.7 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.2919, allocations: 330.8 kB / 1.073 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.2922, allocations: 99.95 kB / 1.073 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.2926, allocations: 126.9 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.2933, allocations: 200 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2933, allocations: 4 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000771/0.294, allocations: 265.3 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2941, allocations: 4 kB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2941, allocations: 7.984 kB / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2941, allocations: 3.938 kB / 1.074 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.2945, allocations: 55.94 kB / 1.074 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2945, allocations: 0 / 1.074 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.2948, allocations: 35.81 kB / 1.074 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.2948, allocations: 8 kB / 1.074 GB, free: 3.363 MB / 0.8262 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.0001142/0.2949, allocations: 137.7 kB / 1.074 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.295, allocations: 15.81 kB / 1.074 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008132/0.2958, allocations: 260.2 kB / 1.074 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2958, allocations: 7.938 kB / 1.074 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2958, allocations: 4 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2958, allocations: 0 / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.2975, allocations: 1.077 MB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2975, allocations: 0 / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.2979, allocations: 39.97 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.2979, allocations: 3.984 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.2979, allocations: 4 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.2979, allocations: 4 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2979, allocations: 0 / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007765/0.2987, allocations: 356.9 kB / 1.076 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.2988, allocations: 89 kB / 1.076 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.2988, allocations: 4 kB / 1.076 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.2991, allocations: 27.97 kB / 1.076 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.2992, allocations: 11.98 kB / 1.076 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.2992, allocations: 4 kB / 1.076 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.346e-05/0.2993, allocations: 119.2 kB / 1.076 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.2993, allocations: 0 / 1.076 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004701/0.2998, allocations: 127.9 kB / 1.076 GB, free: 0.8828 MB / 0.8262 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.001392/0.3012, allocations: 1.016 MB / 1.077 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000782/0.302, allocations: 242.1 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.302, allocations: 0 / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.3023, allocations: 116.1 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.3028, allocations: 47.91 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/0.3078, allocations: 2.364 MB / 1.08 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.3081, allocations: 0.7164 MB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.3083, allocations: 25.55 kB / 1.081 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.3084, allocations: 43.42 kB / 1.081 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of SimCode: time 8.02e-07/0.3084, allocations: 3.938 kB / 1.081 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.3352, allocations: 6.303 MB / 1.087 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/8.074, allocations: 15.56 kB / 1.087 GB, free: 6.02 MB / 0.8419 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 50 --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