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.001436/0.001436, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001622/0.001622, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.781 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 3.406/3.406, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [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.002158/0.002158, allocations: 69.11 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4246, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003626/0.4283, allocations: 1.983 MB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002729/0.431, allocations: 1.526 MB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.4311, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.372e-05/0.4311, allocations: 19.8 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.4313, allocations: 51.55 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.4323, allocations: 358.8 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.4326, allocations: 223.1 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.4327, allocations: 33.66 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.4328, allocations: 83.77 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.433, allocations: 75.75 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.433, allocations: 20 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000785/0.4338, allocations: 407.5 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.4339, allocations: 43.84 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.51e-05/0.4339, allocations: 71.78 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006257/0.4346, allocations: 442.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4346, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4346, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.4346, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 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.0008412/0.4354, allocations: 457.2 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.4355, allocations: 11.97 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/0.4361, allocations: 92.73 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.4362, allocations: 126.3 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.4363, allocations: 71.97 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.4364, allocations: 16.38 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.4369, allocations: 245.3 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4369, allocations: 3.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.4369, allocations: 8 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4369, allocations: 4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.4372, allocations: 131.9 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.4387, allocations: 0.5989 MB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.4407, allocations: 322.3 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.4409, allocations: 76.81 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00046/0.4414, allocations: 79.86 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.4414, allocations: 38.78 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.4414, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001708/0.4431, allocations: 377.7 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.4432, allocations: 59.39 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.4433, allocations: 130 kB / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.4434, allocations: 33.64 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.4434, allocations: 116.3 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.4435, allocations: 63.52 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.766e-05/0.4436, allocations: 37.7 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4437, allocations: 322.8 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.444, allocations: 83.91 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.4442, allocations: 81.5 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.4446, allocations: 158 kB / 1.334 GB, free: 8.672 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4446, allocations: 4 kB / 1.334 GB, free: 8.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009182/0.4455, allocations: 284.1 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4455, allocations: 8 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4455, allocations: 4 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/0.4461, allocations: 123.9 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.4474, allocations: 95.95 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009178/0.4483, allocations: 0.6381 MB / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.4485, allocations: 23.92 kB / 1.335 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.4485, allocations: 4 kB / 1.335 GB, free: 7.465 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.4487, allocations: 130.3 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.4487, allocations: 11.95 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009834/0.4497, allocations: 283.2 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.4497, allocations: 4 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.4497, allocations: 8 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4497, allocations: 0 / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.4516, allocations: 0.6448 MB / 1.336 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4516, allocations: 0 / 1.336 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.4528, allocations: 96.03 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004983/0.4533, allocations: 127.2 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.4533, allocations: 0 / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008585/0.4541, allocations: 0.6458 MB / 1.337 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4541, allocations: 0 / 1.337 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009042/0.455, allocations: 361.9 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.4551, allocations: 19.77 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.4551, allocations: 0 / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.4553, allocations: 15.98 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.4554, allocations: 11.97 kB / 1.338 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.4554, allocations: 4 kB / 1.338 GB, free: 5.008 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.318e-05/0.4554, allocations: 100 kB / 1.338 GB, free: 4.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4554, allocations: 0 / 1.338 GB, free: 4.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000517/0.456, allocations: 135.6 kB / 1.338 GB, free: 4.777 MB / 1.029 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000462/0.4564, allocations: 234.6 kB / 1.338 GB, free: 4.539 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009322/0.4574, allocations: 223.8 kB / 1.338 GB, free: 4.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4574, allocations: 0 / 1.338 GB, free: 4.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005971/0.458, allocations: 135.8 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.4584, allocations: 29.64 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.4593, allocations: 352.4 kB / 1.339 GB, free: 3.785 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.4594, allocations: 95.03 kB / 1.339 GB, free: 3.668 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.799e-05/0.4595, allocations: 13.08 kB / 1.339 GB, free: 3.656 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.4595, allocations: 15.44 kB / 1.339 GB, free: 3.641 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4595, allocations: 0 / 1.339 GB, free: 3.641 MB / 1.029 GB Notification: Performance of Templates: time 0.009999/0.4695, allocations: 4.672 MB / 1.344 GB, free: 15.04 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.867876479402184]