Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_9_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.001282/0.001283, 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.001363/0.001363, allocations: 195.7 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.267/1.267, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7445/0.7459, allocations: 140.4 MB / 0.949 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00319/0.7492, allocations: 2.081 MB / 0.9511 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002617/0.7518, allocations: 1.729 MB / 0.9528 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.752, allocations: 6.344 kB / 0.9528 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.026e-05/0.7521, allocations: 21.44 kB / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.7523, allocations: 41.77 kB / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.7533, allocations: 303.5 kB / 0.9531 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.7535, allocations: 204.9 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.7537, allocations: 47.58 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.613e-05/0.7538, allocations: 76.5 kB / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.7539, allocations: 80.92 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.754, allocations: 12.41 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007269/0.7547, allocations: 389.1 kB / 0.9539 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.7547, allocations: 33.97 kB / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.774e-05/0.7548, allocations: 91.41 kB / 0.954 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.7554, allocations: 412.9 kB / 0.9544 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.7554, allocations: 1.125 kB / 0.9544 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7554, allocations: 0 / 0.9544 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.7554, allocations: 0 / 0.9544 GB, free: 5.141 MB / 0.7169 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.0007531/0.7562, allocations: 0.5232 MB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.7562, allocations: 9.312 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.248e-05/0.7563, allocations: 63.64 kB / 0.955 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005554/0.7568, allocations: 88.45 kB / 0.9551 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.512e-05/0.7569, allocations: 179.7 kB / 0.9552 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/0.757, allocations: 52.41 kB / 0.9553 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.757, allocations: 11.97 kB / 0.9553 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.7574, allocations: 185.6 kB / 0.9555 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.7574, allocations: 0 / 0.9555 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.7575, allocations: 6.281 kB / 0.9555 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.7575, allocations: 3.656 kB / 0.9555 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.7579, allocations: 182.7 kB / 0.9557 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.759, allocations: 0.9173 MB / 0.9566 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.7594, allocations: 172.3 kB / 0.9567 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.7596, allocations: 80.41 kB / 0.9568 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004964/0.7601, allocations: 0.5211 MB / 0.9573 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.7602, allocations: 39.73 kB / 0.9574 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.884e-06/0.7602, allocations: 0 / 0.9574 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0006234/0.7608, allocations: 231.8 kB / 0.9576 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.7608, allocations: 52.81 kB / 0.9576 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.7609, allocations: 158.8 kB / 0.9578 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.761, allocations: 31.02 kB / 0.9578 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.761, allocations: 125.2 kB / 0.9579 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.7611, allocations: 48.8 kB / 0.958 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.7611, allocations: 35.45 kB / 0.958 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.672e-05/0.7612, allocations: 333.5 kB / 0.9583 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.7614, allocations: 71.7 kB / 0.9584 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.7616, allocations: 93.67 kB / 0.9585 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.7619, allocations: 155.1 kB / 0.9586 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7619, allocations: 0 / 0.9586 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004389/0.7623, allocations: 208.8 kB / 0.9588 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.7624, allocations: 9.234 kB / 0.9588 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.7624, allocations: 1.5 kB / 0.9588 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.7624, allocations: 1.375 kB / 0.9588 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.7626, allocations: 35.8 kB / 0.9589 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.7626, allocations: 9.422 kB / 0.9589 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.7628, allocations: 23.98 kB / 0.9589 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.7628, allocations: 9.125 kB / 0.9589 GB, free: 1.16 MB / 0.7169 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 8.163e-05/0.7629, allocations: 127.4 kB / 0.959 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.763, allocations: 11.53 kB / 0.959 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.7635, allocations: 201.8 kB / 0.9592 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7635, allocations: 1.094 kB / 0.9592 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7635, allocations: 1.125 kB / 0.9592 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.7635, allocations: 0 / 0.9592 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.7647, allocations: 0.986 MB / 0.9602 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.7647, allocations: 7.984 kB / 0.9602 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.7649, allocations: 26.3 kB / 0.9602 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.7649, allocations: 1.219 kB / 0.9602 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.7649, allocations: 6.094 kB / 0.9602 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.7649, allocations: 9.922 kB / 0.9603 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7649, allocations: 1.125 kB / 0.9603 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.7654, allocations: 289 kB / 0.9605 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.7655, allocations: 93.45 kB / 0.9606 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.7655, allocations: 2.281 kB / 0.9606 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.7657, allocations: 15.14 kB / 0.9606 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.7658, allocations: 13.8 kB / 0.9607 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.7658, allocations: 8.328 kB / 0.9607 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.257e-05/0.7659, allocations: 122.4 kB / 0.9608 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7659, allocations: 0 / 0.9608 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004341/0.7663, allocations: 130.4 kB / 0.9609 GB, free: 15.39 MB / 0.7325 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.001123/0.7675, allocations: 0.9463 MB / 0.9618 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004701/0.7679, allocations: 177.4 kB / 0.962 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.7679, allocations: 1.281 kB / 0.962 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.7682, allocations: 83.55 kB / 0.9621 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.7686, allocations: 43.05 kB / 0.9621 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.7714, allocations: 2.119 MB / 0.9642 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.7717, allocations: 0.7182 MB / 0.9649 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.7718, allocations: 29.72 kB / 0.9649 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.7719, allocations: 42.36 kB / 0.965 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.772, allocations: 0 / 0.965 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.7907, allocations: 5.779 MB / 0.9706 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.7909, allocations: 242.3 kB / 0.9708 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.816, allocations: 6.469 kB / 0.9708 GB, free: 8.848 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches