Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001584/0.001584, allocations: 114.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.001767/0.001767, allocations: 210.2 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.475/1.475, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.7 MB / 0.7678 GB, free: 9.328 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_11_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.001969/0.001969, allocations: 71.89 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8939/0.8959, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.004187/0.9, allocations: 2.055 MB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003377/0.9034, allocations: 1.695 MB / 1.283 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.6e-05/0.9035, allocations: 2.062 kB / 1.283 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.936e-05/0.9036, allocations: 23.44 kB / 1.283 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.9037, allocations: 48.09 kB / 1.283 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.905, allocations: 352.1 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000306/0.9053, allocations: 219.3 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.9055, allocations: 42.66 kB / 1.283 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.9056, allocations: 87.3 kB / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.9057, allocations: 83.27 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.9058, allocations: 22.22 kB / 1.283 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008976/0.9067, allocations: 426 kB / 1.284 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.9067, allocations: 38.25 kB / 1.284 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.9068, allocations: 85.02 kB / 1.284 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006818/0.9075, allocations: 439.3 kB / 1.284 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.9075, allocations: 0.7969 kB / 1.284 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9075, allocations: 5.438 kB / 1.284 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.9075, allocations: 0 / 1.284 GB, free: 8.293 MB / 0.9981 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.0008877/0.9084, allocations: 0.5206 MB / 1.285 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.9084, allocations: 11.53 kB / 1.285 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.359e-05/0.9085, allocations: 3.141 kB / 1.285 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.54e-05/0.9085, allocations: 51.47 kB / 1.285 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.9091, allocations: 93.39 kB / 1.285 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.9092, allocations: 178.8 kB / 1.285 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.896e-05/0.9093, allocations: 49.02 kB / 1.285 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.9094, allocations: 23 kB / 1.285 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.9098, allocations: 183.3 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.9098, allocations: 0.6562 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.9098, allocations: 6.344 kB / 1.285 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.9098, allocations: 4.219 kB / 1.285 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.9103, allocations: 182.7 kB / 1.286 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.9118, allocations: 0.9143 MB / 1.287 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.9123, allocations: 157.1 kB / 1.287 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.9125, allocations: 66.5 kB / 1.287 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007481/0.9132, allocations: 0.5217 MB / 1.287 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.9133, allocations: 39.84 kB / 1.287 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.9133, allocations: 0 / 1.287 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0007209/0.914, allocations: 240.1 kB / 1.288 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.914, allocations: 52.47 kB / 1.288 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.9142, allocations: 159.5 kB / 1.288 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.9142, allocations: 36.41 kB / 1.288 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.9143, allocations: 118.8 kB / 1.288 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.9143, allocations: 49.62 kB / 1.288 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.9144, allocations: 38.53 kB / 1.288 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.9146, allocations: 326.5 kB / 1.288 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.9148, allocations: 75.78 kB / 1.288 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.9151, allocations: 99.53 kB / 1.288 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.9154, allocations: 148.6 kB / 1.289 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.9154, allocations: 0 / 1.289 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000524/0.916, allocations: 219.4 kB / 1.289 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.916, allocations: 9.016 kB / 1.289 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.916, allocations: 0 / 1.289 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.916, allocations: 1.281 kB / 1.289 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.9162, allocations: 34.41 kB / 1.289 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.9162, allocations: 1.031 kB / 1.289 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.9164, allocations: 29.19 kB / 1.289 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.9165, allocations: 7.312 kB / 1.289 GB, free: 4.742 MB / 0.9981 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.0001264/0.9166, allocations: 132.8 kB / 1.289 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.9166, allocations: 11.86 kB / 1.289 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005564/0.9172, allocations: 194 kB / 1.289 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9172, allocations: 2.781 kB / 1.289 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.9172, allocations: 4 kB / 1.289 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.9172, allocations: 0.7969 kB / 1.289 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.9187, allocations: 0.9873 MB / 1.29 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9187, allocations: 1.281 kB / 1.29 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.9189, allocations: 26.94 kB / 1.29 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.9189, allocations: 7.031 kB / 1.29 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.9189, allocations: 6.156 kB / 1.29 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.919, allocations: 2.203 kB / 1.29 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.919, allocations: 9.203 kB / 1.29 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.9195, allocations: 289.5 kB / 1.29 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.9195, allocations: 87.23 kB / 1.291 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.9196, allocations: 1.688 kB / 1.291 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.9198, allocations: 18 kB / 1.291 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.9198, allocations: 17.41 kB / 1.291 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.9199, allocations: 4.734 kB / 1.291 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.853e-05/0.92, allocations: 121.2 kB / 1.291 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.92, allocations: 3.938 kB / 1.291 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005232/0.9205, allocations: 136 kB / 1.291 GB, free: 3.137 MB / 0.9981 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.9217, allocations: 0.9459 MB / 1.292 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005041/0.9222, allocations: 159.6 kB / 1.292 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.9222, allocations: 1.344 kB / 1.292 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.9224, allocations: 79.22 kB / 1.292 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.9229, allocations: 46.08 kB / 1.292 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.9261, allocations: 2.085 MB / 1.294 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.9265, allocations: 0.7109 MB / 1.295 GB, free: 16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.9267, allocations: 33.72 kB / 1.295 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.9268, allocations: 42.44 kB / 1.295 GB, free: 15.96 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/0.9268, allocations: 0 / 1.295 GB, free: 15.96 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.9518, allocations: 6.205 MB / 1.301 GB, free: 15.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/9.209, allocations: 21.77 kB / 1.301 GB, free: 15.21 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.338654852996115]