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.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_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.001569/0.001569, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.286/2.286, allocations: 390.3 MB / 0.6647 GB, free: 392 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5686/0.57, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002683/0.5727, allocations: 2.018 MB / 0.9517 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.5747, allocations: 1.659 MB / 0.9533 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.5748, allocations: 1.344 kB / 0.9533 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.915e-05/0.5748, allocations: 21.11 kB / 0.9533 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.771e-05/0.575, allocations: 54.02 kB / 0.9534 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009179/0.5759, allocations: 358.2 kB / 0.9537 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00019/0.5761, allocations: 223.6 kB / 0.9539 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.5763, allocations: 59.81 kB / 0.954 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.39e-05/0.5764, allocations: 76.38 kB / 0.9541 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.5765, allocations: 93.56 kB / 0.9542 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.5765, allocations: 17.5 kB / 0.9542 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006977/0.5772, allocations: 397.2 kB / 0.9545 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.5773, allocations: 41.81 kB / 0.9546 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.809e-05/0.5774, allocations: 89.36 kB / 0.9547 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005045/0.5779, allocations: 429.1 kB / 0.9551 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5779, allocations: 1.156 kB / 0.9551 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.5779, allocations: 0 / 0.9551 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.5779, allocations: 0 / 0.9551 GB, free: 5.102 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.000683/0.5786, allocations: 0.5184 MB / 0.9556 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5786, allocations: 12.69 kB / 0.9556 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.5787, allocations: 46.25 kB / 0.9556 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005609/0.5793, allocations: 89.42 kB / 0.9557 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.618e-05/0.5793, allocations: 181.6 kB / 0.9559 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.476e-05/0.5794, allocations: 45.92 kB / 0.9559 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.5794, allocations: 18.09 kB / 0.956 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.5798, allocations: 191.4 kB / 0.9561 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.5798, allocations: 0 / 0.9561 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.5798, allocations: 6 kB / 0.9562 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5799, allocations: 3.562 kB / 0.9562 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.5803, allocations: 177.5 kB / 0.9563 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.5813, allocations: 0.9301 MB / 0.9572 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.5818, allocations: 174.8 kB / 0.9574 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.582, allocations: 77.55 kB / 0.9575 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004964/0.5825, allocations: 0.5201 MB / 0.958 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.5825, allocations: 31.78 kB / 0.958 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.5825, allocations: 1.156 kB / 0.958 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0006592/0.5832, allocations: 242.3 kB / 0.9582 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.5832, allocations: 53.66 kB / 0.9583 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.5833, allocations: 157.7 kB / 0.9584 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.5834, allocations: 31.95 kB / 0.9585 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.5834, allocations: 118 kB / 0.9586 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.5835, allocations: 48.45 kB / 0.9586 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.5835, allocations: 38.52 kB / 0.9587 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.134e-05/0.5836, allocations: 326.5 kB / 0.959 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.5838, allocations: 71.52 kB / 0.9591 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.584, allocations: 94.2 kB / 0.9591 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.5843, allocations: 156.2 kB / 0.9593 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5843, allocations: 0 / 0.9593 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004477/0.5848, allocations: 211.4 kB / 0.9595 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.5848, allocations: 5.062 kB / 0.9595 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.5848, allocations: 1.094 kB / 0.9595 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.5848, allocations: 1.094 kB / 0.9595 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.5851, allocations: 43.78 kB / 0.9595 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5851, allocations: 1.875 kB / 0.9595 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.5853, allocations: 28.36 kB / 0.9596 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.5853, allocations: 4.406 kB / 0.9596 GB, free: 1.137 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.011e-05/0.5854, allocations: 127.6 kB / 0.9597 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.5854, allocations: 16.19 kB / 0.9597 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.5859, allocations: 197.5 kB / 0.9599 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5859, allocations: 2.188 kB / 0.9599 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.5859, allocations: 0 / 0.9599 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.586, allocations: 5.266 kB / 0.9599 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.5872, allocations: 0.981 MB / 0.9609 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.5872, allocations: 5 kB / 0.9609 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.5874, allocations: 34.12 kB / 0.9609 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5874, allocations: 5.312 kB / 0.9609 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.5874, allocations: 1.906 kB / 0.9609 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.5874, allocations: 1.188 kB / 0.9609 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5875, allocations: 1.125 kB / 0.9609 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000505/0.588, allocations: 301.8 kB / 0.9612 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.588, allocations: 84.73 kB / 0.9613 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.5881, allocations: 2.719 kB / 0.9613 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.5883, allocations: 27.84 kB / 0.9613 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.5883, allocations: 12.77 kB / 0.9613 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.5884, allocations: 8.562 kB / 0.9613 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.946e-05/0.5885, allocations: 122.5 kB / 0.9614 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5885, allocations: 0 / 0.9614 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005209/0.589, allocations: 130.5 kB / 0.9616 GB, free: 15.35 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.001157/0.5902, allocations: 0.9425 MB / 0.9625 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005199/0.5907, allocations: 187 kB / 0.9627 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5907, allocations: 1.375 kB / 0.9627 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.5909, allocations: 79.5 kB / 0.9627 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.5914, allocations: 55.16 kB / 0.9628 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.5943, allocations: 2.058 MB / 0.9648 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.5946, allocations: 0.7134 MB / 0.9655 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.5948, allocations: 32.08 kB / 0.9655 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.5949, allocations: 46.45 kB / 0.9656 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.5949, allocations: 0 / 0.9656 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.6216, allocations: 5.992 MB / 0.9714 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/8.223, allocations: 1.75 kB / 0.9714 GB, free: 8.945 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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