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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001256/0.001256, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00126/0.00126, allocations: 195.7 kB / 16.14 MB, free: 6.699 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.449/2.449, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.5 kB / 0.8985 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2555, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003177/0.2587, allocations: 2.102 MB / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002305/0.2611, allocations: 1.758 MB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.2612, allocations: 0 / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.237e-05/0.2612, allocations: 7.922 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2614, allocations: 47.61 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008321/0.2622, allocations: 295.2 kB / 1.056 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.2624, allocations: 215.2 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2625, allocations: 37.55 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.794e-05/0.2626, allocations: 87.69 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.2628, allocations: 83.67 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.2628, allocations: 12 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007062/0.2635, allocations: 395.5 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.91e-05/0.2636, allocations: 35.89 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.313e-05/0.2637, allocations: 83.66 kB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000545/0.2642, allocations: 435.1 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2642, allocations: 0 / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2642, allocations: 0 / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2642, allocations: 0 / 1.058 GB, free: 2.625 MB / 0.8106 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.0008054/0.2651, allocations: 0.5278 MB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2651, allocations: 11.97 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.2652, allocations: 54.67 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.2662, allocations: 136.7 kB / 1.058 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2663, allocations: 180.1 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-05/0.2664, allocations: 54.19 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.2664, allocations: 16.38 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.267, allocations: 225.6 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.267, allocations: 0 / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.2671, allocations: 8 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2671, allocations: 7.984 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006768/0.2678, allocations: 231.9 kB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.2691, allocations: 0.97 MB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.2696, allocations: 174.6 kB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.2699, allocations: 112.8 kB / 1.06 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006118/0.2705, allocations: 0.5259 MB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2706, allocations: 34.5 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.2706, allocations: 0 / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001107/0.2717, allocations: 339.7 kB / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.2717, allocations: 51.41 kB / 1.061 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2718, allocations: 161.3 kB / 1.061 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.2719, allocations: 25.7 kB / 1.061 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.2719, allocations: 120.2 kB / 1.061 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.272, allocations: 51.2 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.901e-05/0.2721, allocations: 41.7 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/0.2722, allocations: 326.8 kB / 1.062 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.2725, allocations: 103.9 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.2729, allocations: 127.3 kB / 1.062 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005927/0.2735, allocations: 192.1 kB / 1.062 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2735, allocations: 4 kB / 1.062 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007305/0.2742, allocations: 273.3 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2742, allocations: 4 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2742, allocations: 7.922 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2743, allocations: 7.938 kB / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.2746, allocations: 43.97 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2746, allocations: 4 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.2749, allocations: 35.81 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.2749, allocations: 4 kB / 1.063 GB, free: 13.07 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.0001108/0.2751, allocations: 133.7 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.2751, allocations: 15.81 kB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007718/0.2759, allocations: 262.7 kB / 1.063 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2759, allocations: 7.938 kB / 1.063 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2759, allocations: 0 / 1.063 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2759, allocations: 7.984 kB / 1.063 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.2776, allocations: 1.077 MB / 1.064 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2776, allocations: 0 / 1.064 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.2779, allocations: 43.97 kB / 1.064 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.2779, allocations: 4 kB / 1.064 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.278, allocations: 7.984 kB / 1.064 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.278, allocations: 7.938 kB / 1.064 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.278, allocations: 0 / 1.064 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.2788, allocations: 349 kB / 1.064 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.2788, allocations: 92.91 kB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.2789, allocations: 3.984 kB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.2792, allocations: 19.98 kB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.2792, allocations: 19.97 kB / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.2793, allocations: 8 kB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.48e-05/0.2793, allocations: 120.1 kB / 1.065 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2793, allocations: 0 / 1.065 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004151/0.2798, allocations: 127.9 kB / 1.065 GB, free: 10.57 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.001279/0.281, allocations: 1.013 MB / 1.066 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007004/0.2818, allocations: 233.8 kB / 1.066 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2818, allocations: 0 / 1.066 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.2821, allocations: 116.1 kB / 1.066 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.2825, allocations: 43.95 kB / 1.066 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/0.2871, allocations: 2.399 MB / 1.069 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.2874, allocations: 0.7127 MB / 1.069 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002033/0.2876, allocations: 33.7 kB / 1.069 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.2877, allocations: 47.41 kB / 1.069 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of SimCode: time 1.583e-06/0.2877, allocations: 0 / 1.069 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4886/0.7763, allocations: 6.061 MB / 1.075 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/0.7766, allocations: 237 kB / 1.075 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.689, allocations: 0 / 1.075 GB, free: 15.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 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.mat","/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