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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001484/0.001484, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001902/0.001902, allocations: 194.1 kB / 16.25 MB, free: 6.16 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.504/2.504, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 66.08 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.239, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002755/0.2418, allocations: 2.09 MB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.2437, allocations: 1.657 MB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.2438, allocations: 4 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.005e-05/0.2438, allocations: 11.91 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.882e-05/0.2439, allocations: 43.61 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008839/0.2448, allocations: 315.2 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.245, allocations: 219.2 kB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2452, allocations: 49.47 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/0.2453, allocations: 83.7 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.2454, allocations: 91.73 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.2454, allocations: 16 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006641/0.2461, allocations: 415.5 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.2461, allocations: 43.83 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.2462, allocations: 87.66 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000494/0.2467, allocations: 431.2 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2467, allocations: 0 / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2467, allocations: 0 / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2467, allocations: 0 / 1.058 GB, free: 3.098 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.0007455/0.2475, allocations: 0.5148 MB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2475, allocations: 8.625 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.2476, allocations: 54.73 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005345/0.2481, allocations: 88.64 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2483, allocations: 180.1 kB / 1.059 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.08e-05/0.2483, allocations: 50.25 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.2484, allocations: 20.31 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.2488, allocations: 194.2 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2488, allocations: 0 / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.2488, allocations: 11.94 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2488, allocations: 0 / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.2492, allocations: 179.9 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.2505, allocations: 0.9227 MB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.2509, allocations: 170.6 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.2511, allocations: 80.81 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000617/0.2518, allocations: 0.5182 MB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.2518, allocations: 38.5 kB / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.2518, allocations: 0 / 1.061 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006584/0.2525, allocations: 241.6 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.2525, allocations: 51.41 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2526, allocations: 161.1 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.2527, allocations: 33.69 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.2527, allocations: 127.7 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.2528, allocations: 39.36 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.2529, allocations: 37.7 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.253, allocations: 326.8 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.2531, allocations: 71.95 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.2534, allocations: 97.67 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.2537, allocations: 151 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2537, allocations: 0 / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004522/0.2542, allocations: 215.5 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2542, allocations: 10.03 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2542, allocations: 0 / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2542, allocations: 0 / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.2545, allocations: 43.91 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2545, allocations: 0 / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.2547, allocations: 27.77 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.2547, allocations: 8 kB / 1.062 GB, free: 14.05 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 9.69e-05/0.2548, allocations: 129.7 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.2548, allocations: 11.91 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.2553, allocations: 201.5 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2553, allocations: 4 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2553, allocations: 0 / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2553, allocations: 4 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.2566, allocations: 0.9779 MB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2566, allocations: 3.938 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.2568, allocations: 23.98 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.2569, allocations: 4 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.2569, allocations: 3.984 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2569, allocations: 4 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2569, allocations: 3.938 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.2573, allocations: 297 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.2574, allocations: 88.95 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.2574, allocations: 8 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.2576, allocations: 15.97 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.2577, allocations: 19.92 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.2577, allocations: 4 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.294e-05/0.2578, allocations: 119.2 kB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2578, allocations: 0 / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004043/0.2582, allocations: 127.8 kB / 1.064 GB, free: 11.81 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.000975/0.2592, allocations: 0.9442 MB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004415/0.2596, allocations: 179.8 kB / 1.065 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2596, allocations: 4 kB / 1.065 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.2598, allocations: 83.89 kB / 1.065 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.2602, allocations: 40.09 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.2627, allocations: 2.11 MB / 1.068 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.2629, allocations: 0.7086 MB / 1.068 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.2631, allocations: 32.16 kB / 1.068 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.2632, allocations: 43.42 kB / 1.068 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2632, allocations: 0 / 1.068 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.322/1.586, allocations: 5.916 MB / 1.074 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/1.586, allocations: 240.7 kB / 1.074 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.978, allocations: 0 / 1.074 GB, free: 1.594 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