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.007773/0.007773, allocations: 102.4 kB / 15.73 MB, free: 6.043 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.001614/0.001614, allocations: 199.2 kB / 16.68 MB, free: 5.961 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.429/2.429, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 68.12 kB / 1.054 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.7386, allocations: 157.4 MB / 1.207 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003118/0.7418, allocations: 2.033 MB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00235/0.7442, allocations: 1.666 MB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.7443, allocations: 4 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.257e-05/0.7444, allocations: 15.8 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.7446, allocations: 51.55 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.7458, allocations: 358.8 kB / 1.211 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.746, allocations: 219.1 kB / 1.211 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.7462, allocations: 49.48 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.7463, allocations: 79.83 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.7465, allocations: 87.67 kB / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.7465, allocations: 16 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008288/0.7474, allocations: 415.5 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.7474, allocations: 47.84 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.7475, allocations: 87.64 kB / 1.212 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.7482, allocations: 425.3 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7482, allocations: 0 / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7482, allocations: 4 kB / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.7482, allocations: 0 / 1.213 GB, free: 8.121 MB / 0.9356 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.0008503/0.7491, allocations: 0.5146 MB / 1.213 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.7491, allocations: 8.031 kB / 1.213 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.738e-05/0.7492, allocations: 58.67 kB / 1.213 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005778/0.7498, allocations: 88.64 kB / 1.213 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.7499, allocations: 172.3 kB / 1.213 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.75, allocations: 50.25 kB / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.7501, allocations: 16.38 kB / 1.214 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.7505, allocations: 185.6 kB / 1.214 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7505, allocations: 0 / 1.214 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.7505, allocations: 8 kB / 1.214 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.7505, allocations: 4 kB / 1.214 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.751, allocations: 175.9 kB / 1.214 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.7523, allocations: 0.9266 MB / 1.215 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.7528, allocations: 174.5 kB / 1.215 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.753, allocations: 76.83 kB / 1.215 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006126/0.7536, allocations: 0.5142 MB / 1.216 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.7537, allocations: 42.56 kB / 1.216 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.7537, allocations: 4 kB / 1.216 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0006885/0.7544, allocations: 237.6 kB / 1.216 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.7544, allocations: 55.41 kB / 1.216 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.7546, allocations: 156.9 kB / 1.216 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.7546, allocations: 33.7 kB / 1.216 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.7547, allocations: 115.8 kB / 1.216 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.7547, allocations: 55.23 kB / 1.216 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.7548, allocations: 33.7 kB / 1.216 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7549, allocations: 330.8 kB / 1.217 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.7551, allocations: 71.95 kB / 1.217 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.7553, allocations: 91.39 kB / 1.217 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.7557, allocations: 156 kB / 1.217 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.7557, allocations: 0 / 1.217 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004876/0.7562, allocations: 217.3 kB / 1.217 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7562, allocations: 4 kB / 1.217 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7562, allocations: 4.031 kB / 1.217 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7563, allocations: 4 kB / 1.217 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.7565, allocations: 35.97 kB / 1.217 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.7565, allocations: 0 / 1.217 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.7567, allocations: 23.83 kB / 1.217 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.7567, allocations: 7.984 kB / 1.217 GB, free: 3.098 MB / 0.9356 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.0001083/0.7569, allocations: 129.7 kB / 1.217 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.7569, allocations: 19.81 kB / 1.217 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/0.7574, allocations: 194.2 kB / 1.217 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.7574, allocations: 0 / 1.217 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7574, allocations: 0 / 1.217 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.7575, allocations: 0 / 1.217 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.7588, allocations: 0.9933 MB / 1.218 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.7589, allocations: 64 / 1.218 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.7591, allocations: 35.97 kB / 1.218 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.7591, allocations: 0 / 1.218 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.7591, allocations: 8 kB / 1.218 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.7591, allocations: 0 / 1.218 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7591, allocations: 7.922 kB / 1.218 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.7596, allocations: 289 kB / 1.219 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.7597, allocations: 92.91 kB / 1.219 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.7597, allocations: 0 / 1.219 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.7599, allocations: 15.98 kB / 1.219 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.76, allocations: 15.86 kB / 1.219 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.76, allocations: 8 kB / 1.219 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.264e-05/0.7601, allocations: 129.1 kB / 1.219 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7601, allocations: 0 / 1.219 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004562/0.7606, allocations: 127.9 kB / 1.219 GB, free: 0.8359 MB / 0.9356 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.001115/0.7617, allocations: 0.9442 MB / 1.22 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004889/0.7622, allocations: 175.8 kB / 1.22 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.7622, allocations: 0 / 1.22 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.7624, allocations: 79.91 kB / 1.22 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.7628, allocations: 46.59 kB / 1.22 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.7657, allocations: 2.082 MB / 1.222 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.766, allocations: 0.7164 MB / 1.223 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.7662, allocations: 35.73 kB / 1.223 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.7663, allocations: 39.42 kB / 1.223 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.7663, allocations: 0 / 1.223 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.7908, allocations: 6.122 MB / 1.229 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/8.446, allocations: 12.7 kB / 1.229 GB, free: 6.668 MB / 0.9512 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