Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_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.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_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.001516/0.001516, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002108/0.002108, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.543 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.619/2.619, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 0.8687 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5577/0.5591, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003192/0.5623, allocations: 2.092 MB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002465/0.5648, allocations: 1.74 MB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.5649, allocations: 7.938 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.152e-05/0.565, allocations: 11.92 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.777e-05/0.5651, allocations: 47.61 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007808/0.5659, allocations: 287.2 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.5661, allocations: 211.1 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.5662, allocations: 45.38 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.57e-05/0.5663, allocations: 75.77 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.5665, allocations: 83.67 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.5665, allocations: 16 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007011/0.5672, allocations: 387.5 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.5673, allocations: 35.89 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.5674, allocations: 79.66 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005722/0.5679, allocations: 429.2 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5679, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.31e-07/0.568, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.568, allocations: 8 kB / 1.022 GB, free: 13.27 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000787/0.5688, allocations: 0.5109 MB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.5688, allocations: 11.97 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.5689, allocations: 50.73 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005416/0.5694, allocations: 88.66 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.5695, allocations: 180.2 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.28e-05/0.5696, allocations: 46.27 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.5697, allocations: 16.36 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.5701, allocations: 186.8 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5701, allocations: 4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.5701, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.5701, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.5706, allocations: 187.7 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.572, allocations: 0.915 MB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.5725, allocations: 178.5 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.5727, allocations: 76.83 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/0.5734, allocations: 0.5181 MB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.5734, allocations: 38.56 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.5734, allocations: 3.938 kB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0006842/0.5741, allocations: 229.8 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.5742, allocations: 55.41 kB / 1.025 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.5743, allocations: 164.2 kB / 1.025 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.5743, allocations: 29.7 kB / 1.025 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.5744, allocations: 123.7 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.5745, allocations: 47.3 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.5745, allocations: 37.7 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5747, allocations: 326.8 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.5749, allocations: 71.95 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.5751, allocations: 93.67 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.5755, allocations: 155.4 kB / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5755, allocations: 0 / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000478/0.576, allocations: 214.9 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.576, allocations: 4 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.576, allocations: 0 / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.576, allocations: 4 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.5763, allocations: 43.91 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.5763, allocations: 0 / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.5765, allocations: 19.83 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.5765, allocations: 8 kB / 1.027 GB, free: 8.242 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 (20): * Single equations (assignments): 20 * 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.0001348/0.5767, allocations: 133.8 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.5767, allocations: 15.89 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.5773, allocations: 194 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5773, allocations: 0 / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5773, allocations: 4 kB / 1.027 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.5773, allocations: 3.984 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.5787, allocations: 0.9817 MB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5787, allocations: 0 / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.5789, allocations: 35.91 kB / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5789, allocations: 0 / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.5789, allocations: 8 kB / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5789, allocations: 4 kB / 1.028 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5789, allocations: 0 / 1.028 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.5794, allocations: 293 kB / 1.028 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.5795, allocations: 85.02 kB / 1.028 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.5795, allocations: 7.984 kB / 1.028 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.5798, allocations: 11.98 kB / 1.028 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.5798, allocations: 23.86 kB / 1.028 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.5798, allocations: 4 kB / 1.028 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.828e-05/0.5799, allocations: 120.9 kB / 1.028 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5799, allocations: 0 / 1.028 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000439/0.5804, allocations: 127.9 kB / 1.029 GB, free: 6.004 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 (14): * Single equations (assignments): 14 * 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.001073/0.5815, allocations: 0.9558 MB / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.5819, allocations: 175.8 kB / 1.03 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5819, allocations: 0 / 1.03 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.5822, allocations: 84.08 kB / 1.03 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.5826, allocations: 50.72 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.5854, allocations: 2.113 MB / 1.032 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.5857, allocations: 0.705 MB / 1.033 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.5859, allocations: 34.66 kB / 1.033 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.586, allocations: 39.42 kB / 1.033 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.586, allocations: 4 kB / 1.033 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4095/0.9956, allocations: 5.767 MB / 1.038 GB, free: 12.12 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/0.9959, allocations: 244 kB / 1.038 GB, free: 11.87 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/3.046, allocations: 6.922 kB / 1.039 GB, free: 11.86 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches