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.0009485/0.0009484, allocations: 97.64 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.006928/0.006928, allocations: 170.1 kB / 16.27 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.224/2.224, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5707/0.5711, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.001722/0.5728, allocations: 1.731 MB / 0.9569 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.5747, allocations: 1.707 MB / 0.9585 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.5748, allocations: 1.156 kB / 0.9585 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.5748, allocations: 14.22 kB / 0.9585 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.317e-05/0.5749, allocations: 41.94 kB / 0.9586 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.5756, allocations: 295.8 kB / 0.9589 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.5758, allocations: 216 kB / 0.9591 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.5759, allocations: 44.27 kB / 0.9591 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.896e-05/0.576, allocations: 67.86 kB / 0.9592 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.5761, allocations: 79.52 kB / 0.9593 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.5762, allocations: 15 kB / 0.9593 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006319/0.5768, allocations: 386.7 kB / 0.9596 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.5768, allocations: 30.78 kB / 0.9597 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.66e-05/0.5769, allocations: 105 kB / 0.9598 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.5774, allocations: 420 kB / 0.9602 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5774, allocations: 1.312 kB / 0.9602 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5774, allocations: 0 / 0.9602 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.5774, allocations: 4 kB / 0.9602 GB, free: 3.914 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.000669/0.5781, allocations: 498 kB / 0.9607 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.5781, allocations: 9.562 kB / 0.9607 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.728e-05/0.5782, allocations: 52.08 kB / 0.9607 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005731/0.5788, allocations: 102 kB / 0.9608 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.556e-05/0.5789, allocations: 176.3 kB / 0.961 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/0.5789, allocations: 54.84 kB / 0.961 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.579, allocations: 13.66 kB / 0.961 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.5794, allocations: 186.4 kB / 0.9612 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5794, allocations: 3.984 kB / 0.9612 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.5794, allocations: 6 kB / 0.9612 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.5794, allocations: 7.062 kB / 0.9612 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004328/0.5799, allocations: 195.5 kB / 0.9614 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.5809, allocations: 0.9164 MB / 0.9623 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/0.5814, allocations: 187 kB / 0.9625 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.5816, allocations: 76.61 kB / 0.9626 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004876/0.5821, allocations: 0.5291 MB / 0.9631 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.5821, allocations: 35.59 kB / 0.9631 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.833e-06/0.5821, allocations: 3.984 kB / 0.9631 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0006509/0.5828, allocations: 247 kB / 0.9634 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.5828, allocations: 52.53 kB / 0.9634 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.5829, allocations: 163.3 kB / 0.9636 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.583, allocations: 30.83 kB / 0.9636 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.583, allocations: 114 kB / 0.9637 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.583, allocations: 53.88 kB / 0.9638 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.5831, allocations: 22.38 kB / 0.9638 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.166e-05/0.5831, allocations: 321.2 kB / 0.9641 GB, free: 312 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.5833, allocations: 81.11 kB / 0.9642 GB, free: 272 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.5835, allocations: 96.39 kB / 0.9642 GB, free: 216 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.5839, allocations: 154.7 kB / 0.9644 GB, free: 132 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5839, allocations: 0 / 0.9644 GB, free: 132 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004555/0.5844, allocations: 231.9 kB / 0.9646 GB, free: 0 / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5844, allocations: 4.688 kB / 0.9646 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5844, allocations: 1.062 kB / 0.9646 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.5844, allocations: 1.125 kB / 0.9646 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.5847, allocations: 49.81 kB / 0.9647 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.5847, allocations: 2.656 kB / 0.9647 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.5849, allocations: 24.8 kB / 0.9647 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.5849, allocations: 7.344 kB / 0.9647 GB, free: 15.96 MB / 0.7325 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.0001008/0.585, allocations: 125.5 kB / 0.9648 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.5851, allocations: 20.97 kB / 0.9648 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005016/0.5856, allocations: 209.4 kB / 0.965 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5856, allocations: 1.031 kB / 0.965 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5856, allocations: 1.156 kB / 0.965 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.5856, allocations: 3.984 kB / 0.9651 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.587, allocations: 0.9887 MB / 0.966 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.587, allocations: 1 kB / 0.966 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.5872, allocations: 35.62 kB / 0.9661 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5872, allocations: 2.281 kB / 0.9661 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.5872, allocations: 1.312 kB / 0.9661 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5872, allocations: 1.125 kB / 0.9661 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5872, allocations: 0.9688 kB / 0.9661 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.5877, allocations: 308.3 kB / 0.9664 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.5878, allocations: 93.44 kB / 0.9664 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.5878, allocations: 2 kB / 0.9664 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.588, allocations: 21.73 kB / 0.9665 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.5881, allocations: 17.02 kB / 0.9665 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.5881, allocations: 12.33 kB / 0.9665 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.299e-05/0.5882, allocations: 118.1 kB / 0.9666 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5882, allocations: 0 / 0.9666 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004424/0.5886, allocations: 134.9 kB / 0.9667 GB, free: 14.18 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.001064/0.5897, allocations: 0.9409 MB / 0.9677 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000474/0.5902, allocations: 190.1 kB / 0.9678 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5902, allocations: 1.438 kB / 0.9678 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.5904, allocations: 83.31 kB / 0.9679 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.5908, allocations: 46.52 kB / 0.968 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.5939, allocations: 2.154 MB / 0.9701 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.5942, allocations: 0.7094 MB / 0.9708 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.5943, allocations: 31.67 kB / 0.9708 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.5945, allocations: 42.05 kB / 0.9708 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of SimCode: time 2.354e-06/0.5945, allocations: 0 / 0.9708 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.6107, allocations: 5.707 MB / 0.9764 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.6109, allocations: 239.9 kB / 0.9766 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.458, allocations: 0 / 0.9766 GB, free: 7.73 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