Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_ZeroInput,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",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.001695/0.001694, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001893/0.001893, allocations: 194 kB / 16.14 MB, free: 6.734 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.38/2.38, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 64.09 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5017/0.5037, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003527/0.5073, allocations: 2.104 MB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002698/0.51, allocations: 1.746 MB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.5101, allocations: 4 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.587e-05/0.5101, allocations: 11.91 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.986e-05/0.5103, allocations: 43.62 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.5111, allocations: 299.2 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.5113, allocations: 215.1 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.5114, allocations: 45.44 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.384e-05/0.5115, allocations: 75.78 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.5117, allocations: 95.59 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.5117, allocations: 12 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007196/0.5124, allocations: 391.5 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.5125, allocations: 31.89 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.44e-05/0.5126, allocations: 91.58 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005381/0.5131, allocations: 429.2 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5131, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.42e-07/0.5131, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.5131, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 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.000815/0.514, allocations: 0.5187 MB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.514, allocations: 8.031 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.147e-05/0.5141, allocations: 54.67 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.5153, allocations: 140.6 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.5154, allocations: 188.1 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.447e-05/0.5155, allocations: 50.27 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.5155, allocations: 24.3 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.5161, allocations: 213.6 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.5161, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.5161, allocations: 15.98 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.5161, allocations: 4 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007449/0.5169, allocations: 235.8 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.5183, allocations: 0.9661 MB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/0.5188, allocations: 174.7 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.5192, allocations: 113.1 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007143/0.5199, allocations: 0.5181 MB / 1.025 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.5199, allocations: 42.55 kB / 1.025 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.5199, allocations: 0 / 1.025 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.001161/0.5211, allocations: 331.3 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.5212, allocations: 55.41 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.5213, allocations: 156.2 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.5213, allocations: 33.7 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.5214, allocations: 112.2 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.5215, allocations: 63.19 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.5216, allocations: 41.69 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.5218, allocations: 330.8 kB / 1.026 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.5221, allocations: 103.9 kB / 1.026 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.5225, allocations: 124.5 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006702/0.5232, allocations: 197.6 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5232, allocations: 0 / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000764/0.5239, allocations: 275.8 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.524, allocations: 4 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.524, allocations: 0 / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.524, allocations: 11.88 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.5244, allocations: 51.95 kB / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.5244, allocations: 0 / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.5247, allocations: 27.83 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.5247, allocations: 11.98 kB / 1.027 GB, free: 7.648 MB / 0.7794 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.0001041/0.5248, allocations: 125.8 kB / 1.027 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.5249, allocations: 15.81 kB / 1.027 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008028/0.5257, allocations: 266.6 kB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5257, allocations: 3.938 kB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5257, allocations: 0 / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5257, allocations: 4 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.5275, allocations: 1.07 MB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.5275, allocations: 8.062 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/0.5278, allocations: 43.95 kB / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.5278, allocations: 4 kB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.5278, allocations: 0 / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5278, allocations: 0 / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5278, allocations: 4 kB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.5286, allocations: 358.5 kB / 1.029 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.5286, allocations: 96.86 kB / 1.029 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.5287, allocations: 4 kB / 1.029 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.529, allocations: 27.97 kB / 1.029 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.5291, allocations: 11.98 kB / 1.029 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.5291, allocations: 4 kB / 1.029 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.543e-05/0.5292, allocations: 120.9 kB / 1.029 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.114e-06/0.5292, allocations: 0 / 1.029 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004151/0.5296, allocations: 135.8 kB / 1.029 GB, free: 5.156 MB / 0.7794 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.001591/0.5312, allocations: 1.014 MB / 1.03 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000721/0.5319, allocations: 219.8 kB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5319, allocations: 4 kB / 1.031 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.5323, allocations: 116.1 kB / 1.031 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.5327, allocations: 49.39 kB / 1.031 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004289/0.537, allocations: 2.359 MB / 1.033 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004359/0.5375, allocations: 0.705 MB / 1.034 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001994/0.5377, allocations: 37.3 kB / 1.034 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.5378, allocations: 43.42 kB / 1.034 GB, free: 492 kB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5378, allocations: 0 / 1.034 GB, free: 492 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09756/0.6354, allocations: 6.061 MB / 1.04 GB, free: 10.6 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.6356, allocations: 241 kB / 1.04 GB, free: 10.34 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/2.864, allocations: 2.625 kB / 1.04 GB, free: 10.34 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches