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.001482/0.001482, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.00179/0.00179, allocations: 167.3 kB / 22.46 MB, free: 5.375 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.52/1.52, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.854/2.854, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.518e-05/3.766e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00381/0.003848, allocations: 1.993 MB / 0.9834 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00282/0.006668, allocations: 1.522 MB / 0.9849 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.006731, allocations: 0 / 0.9849 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.416e-05/0.006815, allocations: 27.84 kB / 0.9849 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.006935, allocations: 51.48 kB / 0.9849 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.008093, allocations: 366.5 kB / 0.9853 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.008369, allocations: 223 kB / 0.9855 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.008526, allocations: 37.66 kB / 0.9855 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.008703, allocations: 131.6 kB / 0.9857 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.008855, allocations: 67.84 kB / 0.9857 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.008895, allocations: 20 kB / 0.9857 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008627/0.009758, allocations: 411.3 kB / 0.9861 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.009809, allocations: 35.89 kB / 0.9862 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.009916, allocations: 71.83 kB / 0.9862 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000806/0.01072, allocations: 482.7 kB / 0.9867 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.01073, allocations: 3.938 kB / 0.9867 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/0.01073, allocations: 4 kB / 0.9867 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.01074, allocations: 4 kB / 0.9867 GB, free: 6.52 MB / 0.9356 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.0009621/0.0117, allocations: 469 kB / 0.9872 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.01174, allocations: 8.031 kB / 0.9872 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006204/0.01236, allocations: 84.75 kB / 0.9872 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.01251, allocations: 125.6 kB / 0.9874 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.01262, allocations: 71.97 kB / 0.9874 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.01266, allocations: 16.38 kB / 0.9874 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.01316, allocations: 241.5 kB / 0.9877 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.01317, allocations: 4.188 kB / 0.9877 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.01319, allocations: 4.375 kB / 0.9877 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.01321, allocations: 8.125 kB / 0.9877 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.01354, allocations: 132.7 kB / 0.9878 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.01498, allocations: 0.599 MB / 0.9884 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.01715, allocations: 318.3 kB / 0.9887 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.01739, allocations: 76.81 kB / 0.9888 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004621/0.01785, allocations: 71.92 kB / 0.9889 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.01789, allocations: 38.5 kB / 0.9889 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.01789, allocations: 0 / 0.9889 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.001801/0.01969, allocations: 393 kB / 0.9893 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.01974, allocations: 51.41 kB / 0.9893 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.01989, allocations: 137.3 kB / 0.9894 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.01992, allocations: 25.7 kB / 0.9895 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.02002, allocations: 132.3 kB / 0.9896 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.726e-05/0.02009, allocations: 55.58 kB / 0.9896 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.02017, allocations: 37.7 kB / 0.9897 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.02034, allocations: 322.8 kB / 0.99 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.02058, allocations: 79.89 kB / 0.9901 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.02082, allocations: 86.53 kB / 0.9901 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.02124, allocations: 152.8 kB / 0.9903 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.02125, allocations: 3.938 kB / 0.9903 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009692/0.02222, allocations: 296.3 kB / 0.9906 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.02223, allocations: 4 kB / 0.9906 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.02224, allocations: 7.938 kB / 0.9906 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/0.02284, allocations: 120.8 kB / 0.9907 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.02415, allocations: 104 kB / 0.9908 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000988/0.02514, allocations: 0.6264 MB / 0.9914 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.02532, allocations: 23.92 kB / 0.9914 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.02534, allocations: 4 kB / 0.9914 GB, free: 1.441 MB / 0.9356 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.0001414/0.02548, allocations: 125.8 kB / 0.9916 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.02553, allocations: 11.94 kB / 0.9916 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009451/0.02648, allocations: 284.8 kB / 0.9918 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.02649, allocations: 7.938 kB / 0.9919 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.0265, allocations: 0 / 0.9919 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.0265, allocations: 0 / 0.9919 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.02834, allocations: 0.6408 MB / 0.9925 GB, free: 328 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.02836, allocations: 3.984 kB / 0.9925 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.02962, allocations: 99.97 kB / 0.9926 GB, free: 224 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005056/0.03012, allocations: 127 kB / 0.9927 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.03014, allocations: 4 kB / 0.9927 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009461/0.03109, allocations: 0.6305 MB / 0.9933 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.03109, allocations: 4 kB / 0.9933 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009746/0.03207, allocations: 361.8 kB / 0.9937 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.03209, allocations: 11.89 kB / 0.9937 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.03212, allocations: 8 kB / 0.9937 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.03234, allocations: 15.92 kB / 0.9937 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.03239, allocations: 15.91 kB / 0.9937 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.03241, allocations: 8 kB / 0.9937 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.937e-05/0.03249, allocations: 96.77 kB / 0.9938 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.03249, allocations: 4 kB / 0.9938 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000487/0.03298, allocations: 135.5 kB / 0.994 GB, free: 14.76 MB / 0.9512 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.0005129/0.03349, allocations: 242.8 kB / 0.9942 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009694/0.03446, allocations: 223.7 kB / 0.9944 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.03446, allocations: 0 / 0.9944 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006327/0.03509, allocations: 127.8 kB / 0.9945 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.03551, allocations: 27.98 kB / 0.9945 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008743/0.03638, allocations: 348.4 kB / 0.9949 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.0365, allocations: 90.78 kB / 0.995 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.11e-05/0.03659, allocations: 20.27 kB / 0.995 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.03665, allocations: 16.5 kB / 0.995 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of SimCode: time 4.9e-07/0.03665, allocations: 4 kB / 0.995 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of Templates: time 0.01007/0.04672, allocations: 4.489 MB / 0.9994 GB, free: 9.203 MB / 0.9512 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: 8.675072856247425]