Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.001395/0.001395, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001437/0.001437, allocations: 191 kB / 16.25 MB, free: 6.633 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.295/1.295, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6191/0.6205, allocations: 140.4 MB / 0.9492 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002792/0.6233, allocations: 2.077 MB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.6252, allocations: 1.646 MB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.6252, allocations: 2.938 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.945e-05/0.6253, allocations: 13.42 kB / 0.9529 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.885e-05/0.6254, allocations: 40.83 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008114/0.6262, allocations: 322.9 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.6264, allocations: 223.1 kB / 0.9535 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.6266, allocations: 60.58 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.6266, allocations: 80.73 kB / 0.9536 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.6268, allocations: 84.52 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.6268, allocations: 18.94 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006299/0.6274, allocations: 409 kB / 0.9541 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.156e-05/0.6275, allocations: 42.56 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.326e-05/0.6276, allocations: 87.34 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.628, allocations: 433.9 kB / 0.9546 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.6281, allocations: 5.156 kB / 0.9546 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6281, allocations: 0 / 0.9546 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.6281, allocations: 0 / 0.9546 GB, free: 5.023 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.0007079/0.6288, allocations: 0.5151 MB / 0.9551 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.6288, allocations: 9.688 kB / 0.9551 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.6289, allocations: 51.98 kB / 0.9552 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006213/0.6295, allocations: 86.56 kB / 0.9553 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.6296, allocations: 189.3 kB / 0.9554 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.6298, allocations: 54.5 kB / 0.9555 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.6298, allocations: 14.19 kB / 0.9555 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.6303, allocations: 185.2 kB / 0.9557 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.6304, allocations: 1.5 kB / 0.9557 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.6304, allocations: 5.188 kB / 0.9557 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.6304, allocations: 4 kB / 0.9557 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005604/0.631, allocations: 175.1 kB / 0.9559 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.6324, allocations: 0.9207 MB / 0.9568 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005988/0.6331, allocations: 171.9 kB / 0.9569 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.6333, allocations: 76.83 kB / 0.957 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006477/0.634, allocations: 0.5283 MB / 0.9575 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.634, allocations: 35.94 kB / 0.9575 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.893e-06/0.634, allocations: 0 / 0.9575 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0009061/0.6349, allocations: 234.5 kB / 0.9578 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.635, allocations: 57.66 kB / 0.9578 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.6351, allocations: 159 kB / 0.958 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.6352, allocations: 31.33 kB / 0.958 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/0.6352, allocations: 117 kB / 0.9581 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.6353, allocations: 49.98 kB / 0.9582 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.079e-05/0.6354, allocations: 37.8 kB / 0.9582 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.6355, allocations: 321.4 kB / 0.9585 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.6357, allocations: 77.48 kB / 0.9586 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.636, allocations: 96.34 kB / 0.9587 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.6365, allocations: 151.7 kB / 0.9588 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6365, allocations: 0 / 0.9588 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006252/0.6372, allocations: 217.6 kB / 0.959 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6372, allocations: 4.969 kB / 0.959 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6372, allocations: 1.094 kB / 0.959 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.6372, allocations: 1 kB / 0.959 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.6376, allocations: 36.03 kB / 0.9591 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.6376, allocations: 1.531 kB / 0.9591 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.6378, allocations: 31.92 kB / 0.9591 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.6379, allocations: 8.969 kB / 0.9591 GB, free: 1.059 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 0.0001074/0.638, allocations: 132.6 kB / 0.9592 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.6381, allocations: 10.44 kB / 0.9592 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006382/0.6387, allocations: 202.1 kB / 0.9594 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6387, allocations: 2.75 kB / 0.9594 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6387, allocations: 0 / 0.9594 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6388, allocations: 3.984 kB / 0.9594 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.6405, allocations: 0.9815 MB / 0.9604 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.6405, allocations: 5 kB / 0.9604 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.6408, allocations: 30.84 kB / 0.9604 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.6408, allocations: 1.312 kB / 0.9604 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.6408, allocations: 5.031 kB / 0.9604 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.6408, allocations: 1.875 kB / 0.9604 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.6409, allocations: 9.094 kB / 0.9605 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.6416, allocations: 294 kB / 0.9607 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.6416, allocations: 84.3 kB / 0.9608 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.6417, allocations: 6.453 kB / 0.9608 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.642, allocations: 20.11 kB / 0.9608 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.6421, allocations: 12.45 kB / 0.9609 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.6421, allocations: 9.031 kB / 0.9609 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001369/0.6423, allocations: 122.2 kB / 0.961 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6423, allocations: 0 / 0.961 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007265/0.643, allocations: 126.9 kB / 0.9611 GB, free: 15.28 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.001601/0.6446, allocations: 0.9421 MB / 0.962 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007112/0.6454, allocations: 186.3 kB / 0.9622 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.6454, allocations: 5.375 kB / 0.9622 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.6457, allocations: 80.06 kB / 0.9623 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.6463, allocations: 46.7 kB / 0.9623 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.6497, allocations: 2.095 MB / 0.9644 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.6501, allocations: 0.714 MB / 0.9651 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00018/0.6502, allocations: 29.3 kB / 0.9651 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.6504, allocations: 45.5 kB / 0.9651 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.6504, allocations: 0 / 0.9651 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.6737, allocations: 5.91 MB / 0.9709 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/0.674, allocations: 222.5 kB / 0.9711 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.7, allocations: 1.344 kB / 0.9711 GB, free: 8.699 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches