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.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,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.0009354/0.0009354, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006435/0.006435, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.252/2.252, allocations: 390.9 MB / 0.6664 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002887, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6457/0.646, allocations: 142.4 MB / 0.9552 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001802/0.6478, allocations: 1.729 MB / 0.9569 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.6498, allocations: 1.702 MB / 0.9585 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.6499, allocations: 2.156 kB / 0.9585 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.65, allocations: 17.06 kB / 0.9585 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.48e-05/0.6501, allocations: 45.45 kB / 0.9586 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007961/0.6509, allocations: 293.1 kB / 0.9589 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.6511, allocations: 208.4 kB / 0.9591 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.6512, allocations: 51.39 kB / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/0.6513, allocations: 67.59 kB / 0.9592 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.6514, allocations: 84.55 kB / 0.9593 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.6514, allocations: 9.625 kB / 0.9593 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006473/0.6521, allocations: 380.1 kB / 0.9596 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.6521, allocations: 37.39 kB / 0.9597 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.6522, allocations: 101 kB / 0.9598 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.6528, allocations: 424.6 kB / 0.9602 GB, free: 4 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6528, allocations: 0.9688 kB / 0.9602 GB, free: 4 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.285e-06/0.6528, allocations: 4 kB / 0.9602 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.6528, allocations: 0 / 0.9602 GB, free: 3.996 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.0006705/0.6535, allocations: 498.4 kB / 0.9606 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.6535, allocations: 9.094 kB / 0.9607 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.6536, allocations: 52.05 kB / 0.9607 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005642/0.6542, allocations: 106.5 kB / 0.9608 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.483e-05/0.6543, allocations: 177.2 kB / 0.961 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.6543, allocations: 49.56 kB / 0.961 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.6544, allocations: 14.38 kB / 0.961 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.6548, allocations: 190.6 kB / 0.9612 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.6548, allocations: 0 / 0.9612 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.6548, allocations: 5.125 kB / 0.9612 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.6548, allocations: 4.344 kB / 0.9612 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.6553, allocations: 193.5 kB / 0.9614 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.6565, allocations: 0.9218 MB / 0.9623 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.6571, allocations: 186 kB / 0.9625 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.6573, allocations: 89.48 kB / 0.9626 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005475/0.6579, allocations: 0.52 MB / 0.9631 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.6579, allocations: 36.52 kB / 0.9631 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/0.6579, allocations: 0 / 0.9631 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0007057/0.6586, allocations: 250.2 kB / 0.9634 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.6586, allocations: 53.72 kB / 0.9634 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.6588, allocations: 159.1 kB / 0.9636 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.6588, allocations: 27.17 kB / 0.9636 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.6589, allocations: 121.9 kB / 0.9637 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.6589, allocations: 56.44 kB / 0.9638 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.659, allocations: 22.34 kB / 0.9638 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.167e-05/0.659, allocations: 322.3 kB / 0.9641 GB, free: 392 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.6592, allocations: 75.95 kB / 0.9642 GB, free: 356 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.6595, allocations: 101.2 kB / 0.9643 GB, free: 296 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.6598, allocations: 159.3 kB / 0.9644 GB, free: 208 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6598, allocations: 0 / 0.9644 GB, free: 208 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004639/0.6603, allocations: 228.7 kB / 0.9646 GB, free: 80 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.6603, allocations: 7.156 kB / 0.9646 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6603, allocations: 0 / 0.9646 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.6604, allocations: 0 / 0.9646 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.6606, allocations: 43.47 kB / 0.9647 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.6606, allocations: 4.031 kB / 0.9647 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.6608, allocations: 27.55 kB / 0.9647 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.6609, allocations: 6.188 kB / 0.9647 GB, free: 48 kB / 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.0001162/0.661, allocations: 129.2 kB / 0.9648 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.661, allocations: 19 kB / 0.9648 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005276/0.6616, allocations: 205.7 kB / 0.965 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.6616, allocations: 2.156 kB / 0.965 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.6616, allocations: 3.938 kB / 0.965 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6616, allocations: 3.984 kB / 0.9651 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.6631, allocations: 0.9858 MB / 0.966 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.6631, allocations: 0 / 0.966 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.6634, allocations: 36.16 kB / 0.966 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.6634, allocations: 5.031 kB / 0.9661 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.6634, allocations: 2.469 kB / 0.9661 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.6634, allocations: 5.359 kB / 0.9661 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6634, allocations: 0.9688 kB / 0.9661 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.6639, allocations: 301.2 kB / 0.9664 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.664, allocations: 94.16 kB / 0.9664 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.664, allocations: 5.188 kB / 0.9664 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.6643, allocations: 22.34 kB / 0.9665 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.6643, allocations: 13.42 kB / 0.9665 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.6643, allocations: 7.031 kB / 0.9665 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.951e-05/0.6644, allocations: 124.1 kB / 0.9666 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6645, allocations: 0 / 0.9666 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000502/0.665, allocations: 133.6 kB / 0.9667 GB, free: 14.26 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.001226/0.6662, allocations: 0.9493 MB / 0.9677 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005157/0.6667, allocations: 186.2 kB / 0.9678 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6667, allocations: 0 / 0.9678 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.667, allocations: 88.3 kB / 0.9679 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.6674, allocations: 40.36 kB / 0.968 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.6704, allocations: 2.136 MB / 0.97 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.6707, allocations: 0.7099 MB / 0.9707 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.6708, allocations: 33.81 kB / 0.9708 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.671, allocations: 45.83 kB / 0.9708 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.671, allocations: 4 kB / 0.9708 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.697, allocations: 5.683 MB / 0.9764 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.6972, allocations: 226.9 kB / 0.9766 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.561, allocations: 0 / 0.9766 GB, free: 7.828 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