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.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.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.001358/0.001363, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001595/0.001595, allocations: 192.8 kB / 16.25 MB, free: 6.629 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.618/2.618, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.89 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6719/0.6734, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003957/0.6774, allocations: 2.098 MB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003258/0.6807, allocations: 1.656 MB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.6809, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.36e-05/0.681, allocations: 11.92 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.6812, allocations: 43.61 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.6824, allocations: 319.2 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.6828, allocations: 219.1 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.683, allocations: 53.45 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.6831, allocations: 79.78 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.6835, allocations: 95.66 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.6835, allocations: 16 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000908/0.6844, allocations: 411.5 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.6846, allocations: 39.84 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.6847, allocations: 91.64 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.6857, allocations: 433.2 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6858, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6858, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.6858, allocations: 4 kB / 1.022 GB, free: 13.11 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.001034/0.6868, allocations: 0.5108 MB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.6869, allocations: 11.97 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.752e-05/0.687, allocations: 54.73 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006144/0.6876, allocations: 88.64 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.6877, allocations: 176.2 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.34e-05/0.6878, allocations: 50.25 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.6879, allocations: 16.38 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.6883, allocations: 187 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.6883, allocations: 3.938 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.6884, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.6884, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.6888, allocations: 183.8 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.6904, allocations: 0.9189 MB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.6909, allocations: 170.5 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.6911, allocations: 76.83 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006795/0.6918, allocations: 0.522 MB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.6918, allocations: 34.56 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 3.226e-06/0.6919, allocations: 0 / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.000728/0.6926, allocations: 237.7 kB / 1.025 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.6926, allocations: 51.41 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.6928, allocations: 167.2 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.6928, allocations: 25.7 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.6929, allocations: 119.8 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.693, allocations: 47.3 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.6931, allocations: 33.7 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6932, allocations: 326.8 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.6934, allocations: 71.95 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.6936, allocations: 103.1 kB / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.694, allocations: 159 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.694, allocations: 0 / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005873/0.6946, allocations: 201.5 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.6947, allocations: 4 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.6947, allocations: 4 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.6947, allocations: 3.984 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.695, allocations: 43.91 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.695, allocations: 0 / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.6952, allocations: 27.73 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.6952, allocations: 11.98 kB / 1.027 GB, free: 8.078 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.0001832/0.6954, allocations: 129.8 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.6955, allocations: 11.91 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/0.696, allocations: 194.2 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.696, allocations: 4 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.696, allocations: 8 kB / 1.027 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.696, allocations: 0 / 1.027 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.6977, allocations: 0.9817 MB / 1.028 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6977, allocations: 0 / 1.028 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.6979, allocations: 31.91 kB / 1.028 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.6979, allocations: 4 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.6979, allocations: 4 kB / 1.028 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.698, allocations: 7.938 kB / 1.028 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.698, allocations: 0 / 1.028 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/0.6986, allocations: 293 kB / 1.028 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.6987, allocations: 93 kB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.6988, allocations: 4 kB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.699, allocations: 11.98 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.699, allocations: 19.92 kB / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.6991, allocations: 4 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.973e-05/0.6992, allocations: 118.5 kB / 1.029 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6992, allocations: 4 kB / 1.029 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004911/0.6997, allocations: 123.9 kB / 1.029 GB, free: 5.848 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.001217/0.7009, allocations: 0.9636 MB / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005008/0.7014, allocations: 177.7 kB / 1.03 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.7014, allocations: 4 kB / 1.03 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.7016, allocations: 88.08 kB / 1.03 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.7021, allocations: 42.55 kB / 1.03 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.7053, allocations: 2.11 MB / 1.032 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.7056, allocations: 0.7047 MB / 1.033 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000175/0.7058, allocations: 31.16 kB / 1.033 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.7059, allocations: 47.41 kB / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.7059, allocations: 0 / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.7249, allocations: 5.918 MB / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.7251, allocations: 235.6 kB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.722, allocations: 0 / 1.039 GB, free: 11.59 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