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.00718/0.00718, allocations: 105 kB / 15.73 MB, free: 6.043 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.001663/0.001663, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.47/2.47, allocations: 437.1 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 68.05 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.271, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003599/0.2747, allocations: 2.047 MB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002587/0.2773, allocations: 1.664 MB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.2775, allocations: 4 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.219e-05/0.2776, allocations: 19.78 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.2778, allocations: 51.55 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.2791, allocations: 362.8 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.2794, allocations: 231.1 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2796, allocations: 49.52 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.2798, allocations: 79.78 kB / 1.171 GB, free: 2.754 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.28, allocations: 95.66 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.28, allocations: 20 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009162/0.2809, allocations: 411.5 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.281, allocations: 47.84 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.2811, allocations: 91.62 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007846/0.2819, allocations: 434.7 kB / 1.172 GB, free: 1.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2819, allocations: 0 / 1.172 GB, free: 1.68 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.337e-06/0.282, allocations: 0 / 1.172 GB, free: 1.68 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.282, allocations: 3.938 kB / 1.172 GB, free: 1.676 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.001003/0.283, allocations: 0.5264 MB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.283, allocations: 8.031 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.786e-05/0.2831, allocations: 54.73 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.2842, allocations: 136.6 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.2844, allocations: 172.3 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.2845, allocations: 50.25 kB / 1.173 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.2845, allocations: 16.38 kB / 1.173 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.2851, allocations: 221.8 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2851, allocations: 0 / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.2851, allocations: 8 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2852, allocations: 4 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000691/0.2859, allocations: 231.6 kB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.2874, allocations: 0.9893 MB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.2879, allocations: 182.6 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.2882, allocations: 120.7 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.2889, allocations: 0.5142 MB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.2889, allocations: 34.56 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.2889, allocations: 4 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.001118/0.2901, allocations: 332.1 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.2901, allocations: 55.41 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.2903, allocations: 160.5 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.2903, allocations: 33.7 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.2904, allocations: 116.1 kB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.2904, allocations: 55.28 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.2905, allocations: 41.61 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2906, allocations: 326.8 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.291, allocations: 103.9 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.2913, allocations: 125.6 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000608/0.2919, allocations: 196 kB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.292, allocations: 0 / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007627/0.2927, allocations: 267.5 kB / 1.176 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.2928, allocations: 4 kB / 1.176 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2928, allocations: 8.016 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2928, allocations: 3.938 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.2932, allocations: 47.91 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2932, allocations: 4 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.2935, allocations: 43.66 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.2935, allocations: 8 kB / 1.177 GB, free: 12.11 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.0001215/0.2936, allocations: 125.8 kB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.2937, allocations: 11.91 kB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008141/0.2945, allocations: 262.7 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.2945, allocations: 3.938 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2945, allocations: 0 / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2945, allocations: 3.984 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.2963, allocations: 1.081 MB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2963, allocations: 4 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.2966, allocations: 35.97 kB / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2966, allocations: 0 / 1.178 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.2967, allocations: 16.05 kB / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2967, allocations: 0 / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2967, allocations: 4 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007512/0.2974, allocations: 348.8 kB / 1.178 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.2975, allocations: 89.02 kB / 1.179 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.2976, allocations: 15.98 kB / 1.179 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.2979, allocations: 15.98 kB / 1.179 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.2979, allocations: 19.97 kB / 1.179 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.2979, allocations: 7.938 kB / 1.179 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.696e-05/0.298, allocations: 116.7 kB / 1.179 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.298, allocations: 4 kB / 1.179 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004823/0.2985, allocations: 135.8 kB / 1.179 GB, free: 9.617 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.001379/0.2999, allocations: 1.005 MB / 1.18 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007472/0.3007, allocations: 231.8 kB / 1.18 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3007, allocations: 0 / 1.18 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.301, allocations: 119.8 kB / 1.18 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.3015, allocations: 40.16 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.004824/0.3063, allocations: 2.353 MB / 1.182 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.3066, allocations: 0.7125 MB / 1.183 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.3068, allocations: 41.31 kB / 1.183 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.3069, allocations: 43.42 kB / 1.183 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of SimCode: time 8.42e-07/0.307, allocations: 0 / 1.183 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.3325, allocations: 6.349 MB / 1.189 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.923, allocations: 6.656 kB / 1.189 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 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.mat","/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