Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_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.00123/0.00123, 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.001304/0.001304, allocations: 193.9 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.231/1.231, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.446/2.446, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 63.36 kB / 0.8985 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2527, allocations: 157.4 MB / 1.052 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003022/0.2557, allocations: 2.092 MB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.2581, allocations: 1.741 MB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.2581, allocations: 4 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.315e-05/0.2582, allocations: 15.84 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.872e-05/0.2583, allocations: 43.67 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008742/0.2592, allocations: 298 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.2594, allocations: 207.1 kB / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2596, allocations: 45.45 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.412e-05/0.2597, allocations: 75.77 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.2598, allocations: 83.67 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.2598, allocations: 12 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000723/0.2606, allocations: 391.5 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.778e-05/0.2606, allocations: 35.89 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.016e-05/0.2607, allocations: 79.66 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.2612, allocations: 427.2 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2612, allocations: 0 / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2612, allocations: 4 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2612, allocations: 3.938 kB / 1.058 GB, free: 2.711 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007211/0.262, allocations: 0.5123 MB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.262, allocations: 12.03 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/0.2621, allocations: 50.73 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005301/0.2626, allocations: 96.64 kB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2627, allocations: 184.1 kB / 1.058 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.2628, allocations: 46.25 kB / 1.058 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.2628, allocations: 16.38 kB / 1.058 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.2632, allocations: 185.8 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.2632, allocations: 0 / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.2633, allocations: 8 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2633, allocations: 4 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.2637, allocations: 179.9 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.2649, allocations: 0.911 MB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.2654, allocations: 170.6 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.2655, allocations: 80.83 kB / 1.06 GB, free: 32 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006216/0.2662, allocations: 0.5259 MB / 1.06 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.2662, allocations: 34.56 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.2662, allocations: 0 / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.000637/0.2669, allocations: 237.7 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.2669, allocations: 55.41 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.267, allocations: 161.9 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.2671, allocations: 29.7 kB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.2671, allocations: 119.8 kB / 1.061 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.2672, allocations: 43.36 kB / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.62e-05/0.2672, allocations: 41.69 kB / 1.061 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.2673, allocations: 318.8 kB / 1.061 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.2675, allocations: 75.97 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.2677, allocations: 101.6 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.2681, allocations: 148.1 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2681, allocations: 0 / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000452/0.2685, allocations: 217.4 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.2686, allocations: 5.562 kB / 1.062 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.2686, allocations: 0 / 1.062 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2686, allocations: 3.984 kB / 1.062 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.2688, allocations: 39.97 kB / 1.062 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2688, allocations: 0 / 1.062 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.269, allocations: 31.7 kB / 1.062 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.269, allocations: 15.95 kB / 1.062 GB, free: 13.67 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 (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.0001038/0.2692, allocations: 129.8 kB / 1.062 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.2692, allocations: 11.91 kB / 1.062 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.2697, allocations: 205.8 kB / 1.062 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2697, allocations: 4 kB / 1.062 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2697, allocations: 0 / 1.062 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2697, allocations: 0 / 1.062 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.271, allocations: 0.9778 MB / 1.063 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.271, allocations: 4 kB / 1.063 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.2712, allocations: 31.97 kB / 1.063 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2712, allocations: 0 / 1.063 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.2712, allocations: 4 kB / 1.063 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2712, allocations: 0 / 1.063 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2713, allocations: 3.938 kB / 1.063 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.2717, allocations: 293 kB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.2718, allocations: 92.94 kB / 1.064 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.2718, allocations: 4 kB / 1.064 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.272, allocations: 15.98 kB / 1.064 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.272, allocations: 15.92 kB / 1.064 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.2721, allocations: 7.984 kB / 1.064 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.705e-05/0.2722, allocations: 122 kB / 1.064 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2722, allocations: 0 / 1.064 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003858/0.2725, allocations: 135.8 kB / 1.064 GB, free: 11.43 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 (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.0009528/0.2735, allocations: 0.9326 MB / 1.065 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004782/0.274, allocations: 181.3 kB / 1.065 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.274, allocations: 0 / 1.065 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.2742, allocations: 84.09 kB / 1.065 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.2746, allocations: 47.78 kB / 1.065 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.2771, allocations: 2.101 MB / 1.067 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.2773, allocations: 0.7089 MB / 1.068 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.2775, allocations: 27.67 kB / 1.068 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.562e-05/0.2776, allocations: 49.52 kB / 1.068 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2776, allocations: 0 / 1.068 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1847/0.4623, allocations: 5.779 MB / 1.074 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/0.4626, allocations: 259.4 kB / 1.074 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.176, allocations: 0 / 1.074 GB, free: 1.328 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches