Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.779/2.779, allocations: 0.49 GB / 0.7923 GB, free: 1.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.88 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.8665, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002539/0.869, allocations: 2.058 MB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.8708, allocations: 1.69 MB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.8709, allocations: 3.094 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.539e-05/0.8709, allocations: 21.17 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.257e-05/0.871, allocations: 47.66 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008155/0.8718, allocations: 358.2 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.872, allocations: 225.1 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.8721, allocations: 46.56 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.8722, allocations: 70.52 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.8723, allocations: 94.8 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.8723, allocations: 17.38 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006139/0.8729, allocations: 421.3 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.873, allocations: 43.53 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.873, allocations: 86.45 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.8735, allocations: 443 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.8735, allocations: 0 / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8735, allocations: 0.5312 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.8735, allocations: 0.5312 kB / 1.327 GB, free: 21.32 MB / 1.061 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.000915/0.8744, allocations: 0.5215 MB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.153e-05/0.8745, allocations: 13.39 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.617e-05/0.8745, allocations: 4.109 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/0.8746, allocations: 50.88 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006701/0.8752, allocations: 93.17 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.8754, allocations: 181.2 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-05/0.8755, allocations: 46.27 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.8755, allocations: 18.02 kB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.876, allocations: 189.6 kB / 1.328 GB, free: 20.44 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.876, allocations: 0 / 1.328 GB, free: 20.44 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.876, allocations: 10.25 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.876, allocations: 7.312 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005085/0.8765, allocations: 178.1 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.878, allocations: 0.9054 MB / 1.329 GB, free: 19.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.8785, allocations: 160.5 kB / 1.329 GB, free: 19.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.8788, allocations: 67.16 kB / 1.329 GB, free: 19.47 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006255/0.8794, allocations: 0.5209 MB / 1.33 GB, free: 18.9 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.8794, allocations: 35.53 kB / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 2.846e-06/0.8794, allocations: 1.125 kB / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0008029/0.8802, allocations: 243.2 kB / 1.33 GB, free: 18.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.8802, allocations: 53.03 kB / 1.33 GB, free: 18.69 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.8804, allocations: 159.5 kB / 1.33 GB, free: 18.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.8804, allocations: 31.14 kB / 1.33 GB, free: 18.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.8805, allocations: 122.6 kB / 1.33 GB, free: 18.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.8805, allocations: 50.81 kB / 1.33 GB, free: 18.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.8806, allocations: 38.16 kB / 1.33 GB, free: 18.36 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.031e-05/0.8807, allocations: 329.6 kB / 1.331 GB, free: 18.03 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.8809, allocations: 75.88 kB / 1.331 GB, free: 18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.8811, allocations: 92.19 kB / 1.331 GB, free: 17.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.8815, allocations: 148.9 kB / 1.331 GB, free: 17.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.8815, allocations: 0.6562 kB / 1.331 GB, free: 17.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000523/0.8821, allocations: 213 kB / 1.331 GB, free: 17.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.8821, allocations: 6.938 kB / 1.331 GB, free: 17.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.8821, allocations: 0.7812 kB / 1.331 GB, free: 17.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.8821, allocations: 6.234 kB / 1.331 GB, free: 17.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.8824, allocations: 43.33 kB / 1.331 GB, free: 17.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.8824, allocations: 1.781 kB / 1.331 GB, free: 17.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.8826, allocations: 32.91 kB / 1.331 GB, free: 17.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.8826, allocations: 4.578 kB / 1.331 GB, free: 17.76 MB / 1.061 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.489e-05/0.8827, allocations: 127.6 kB / 1.332 GB, free: 17.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.8827, allocations: 11.86 kB / 1.332 GB, free: 17.63 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/0.8832, allocations: 208.7 kB / 1.332 GB, free: 17.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.8832, allocations: 1.562 kB / 1.332 GB, free: 17.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8832, allocations: 1.891 kB / 1.332 GB, free: 17.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.8832, allocations: 0.5156 kB / 1.332 GB, free: 17.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.8845, allocations: 0.9754 MB / 1.333 GB, free: 16.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.8845, allocations: 0.7031 kB / 1.333 GB, free: 16.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.8847, allocations: 32.11 kB / 1.333 GB, free: 16.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.8847, allocations: 5.875 kB / 1.333 GB, free: 16.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.8847, allocations: 11.39 kB / 1.333 GB, free: 16.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.8847, allocations: 1.438 kB / 1.333 GB, free: 16.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.8847, allocations: 5.703 kB / 1.333 GB, free: 16.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.8852, allocations: 289.9 kB / 1.333 GB, free: 16.4 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.8852, allocations: 89.34 kB / 1.333 GB, free: 16.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.8852, allocations: 3.141 kB / 1.333 GB, free: 16.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.8855, allocations: 17.62 kB / 1.333 GB, free: 16.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.8855, allocations: 16.3 kB / 1.333 GB, free: 16.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.8855, allocations: 5.891 kB / 1.333 GB, free: 16.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.141e-05/0.8856, allocations: 124 kB / 1.333 GB, free: 16.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.8856, allocations: 0 / 1.333 GB, free: 16.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004984/0.8861, allocations: 136.1 kB / 1.333 GB, free: 16.16 MB / 1.061 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.000948/0.887, allocations: 0.9386 MB / 1.334 GB, free: 15.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.8875, allocations: 173.9 kB / 1.334 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8875, allocations: 0 / 1.334 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.8877, allocations: 70.39 kB / 1.335 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.8881, allocations: 58.31 kB / 1.335 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.8908, allocations: 2.073 MB / 1.337 GB, free: 13.72 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.8909, allocations: 0.7115 MB / 1.337 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.8911, allocations: 34.5 kB / 1.337 GB, free: 13.01 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.98e-05/0.8912, allocations: 47.25 kB / 1.337 GB, free: 12.98 MB / 1.061 GB Notification: Performance of SimCode: time 6.22e-07/0.8912, allocations: 0 / 1.337 GB, free: 12.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.9157, allocations: 6.207 MB / 1.343 GB, free: 12.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/9.131, allocations: 3.656 kB / 1.343 GB, free: 12.25 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.105172488023527]