Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001183/0.001183, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001385/0.001385, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9044/0.9044, allocations: 177.1 MB / 203.7 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.288/2.288, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.157e-05, allocations: 9.344 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002364/0.002386, allocations: 2.093 MB / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.004109, allocations: 1.444 MB / 0.8932 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.004164, allocations: 0 / 0.8932 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.948e-05/0.004213, allocations: 19.8 kB / 0.8932 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.572e-05/0.004299, allocations: 47.55 kB / 0.8933 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008077/0.005107, allocations: 346.6 kB / 0.8936 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.005268, allocations: 231 kB / 0.8938 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.005378, allocations: 41.64 kB / 0.8939 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.005492, allocations: 123.8 kB / 0.894 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.005592, allocations: 67.8 kB / 0.894 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.005617, allocations: 20 kB / 0.8941 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004959/0.006113, allocations: 351.5 kB / 0.8944 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.006144, allocations: 39.83 kB / 0.8944 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.00619, allocations: 71.88 kB / 0.8945 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.006576, allocations: 394.7 kB / 0.8949 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.006579, allocations: 4 kB / 0.8949 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.413e-06/0.00658, allocations: 0 / 0.8949 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.006584, allocations: 0 / 0.8949 GB, free: 4.484 MB / 0.8542 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.0005022/0.007086, allocations: 0.5386 MB / 0.8954 GB, free: 3.902 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.007124, allocations: 12.62 kB / 0.8954 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008657/0.007989, allocations: 212.6 kB / 0.8956 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.59e-05/0.008065, allocations: 120.5 kB / 0.8957 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.008123, allocations: 71.97 kB / 0.8958 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.008151, allocations: 20.38 kB / 0.8958 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.008532, allocations: 283.5 kB / 0.8961 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.008539, allocations: 4.125 kB / 0.8961 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.00856, allocations: 4.375 kB / 0.8961 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.00857, allocations: 12.11 kB / 0.8961 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.008718, allocations: 120.3 kB / 0.8962 GB, free: 3.004 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008493/0.009567, allocations: 0.6753 MB / 0.8969 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/0.01027, allocations: 290.8 kB / 0.8972 GB, free: 2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.923e-05/0.01036, allocations: 71.64 kB / 0.8972 GB, free: 1.926 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.434e-05/0.01042, allocations: 12 kB / 0.8972 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.01044, allocations: 41.39 kB / 0.8973 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.01044, allocations: 0 / 0.8973 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0007118/0.01115, allocations: 326.3 kB / 0.8976 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.01118, allocations: 55.41 kB / 0.8976 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.01126, allocations: 189.8 kB / 0.8978 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.01129, allocations: 29.7 kB / 0.8979 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.01136, allocations: 171 kB / 0.898 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.0114, allocations: 55.52 kB / 0.8981 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.01146, allocations: 55.33 kB / 0.8981 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.01157, allocations: 0.4884 MB / 0.8986 GB, free: 460 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.52e-05/0.01165, allocations: 63.95 kB / 0.8987 GB, free: 396 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-05/0.01174, allocations: 62.19 kB / 0.8987 GB, free: 336 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.01189, allocations: 117.4 kB / 0.8988 GB, free: 216 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01189, allocations: 4 kB / 0.8988 GB, free: 212 kB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00038/0.01227, allocations: 233.1 kB / 0.8991 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.01228, allocations: 4 kB / 0.8991 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01229, allocations: 0 / 0.8991 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.01251, allocations: 79.61 kB / 0.8991 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.01308, allocations: 127.9 kB / 0.8993 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007042/0.01379, allocations: 0.8156 MB / 0.9001 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.01394, allocations: 35.86 kB / 0.9001 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.01395, allocations: 11.94 kB / 0.9001 GB, free: 14.86 MB / 0.8698 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 9.151e-05/0.01405, allocations: 168.5 kB / 0.9003 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.01409, allocations: 16.03 kB / 0.9003 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004712/0.01456, allocations: 274.7 kB / 0.9005 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01456, allocations: 0 / 0.9005 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.01457, allocations: 7.875 kB / 0.9005 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01457, allocations: 4 kB / 0.9006 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.01564, allocations: 0.6332 MB / 0.9012 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01565, allocations: 0 / 0.9012 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005472/0.01619, allocations: 119.9 kB / 0.9013 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001828/0.01638, allocations: 89.09 kB / 0.9014 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.01639, allocations: 7.984 kB / 0.9014 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003232/0.01672, allocations: 0.8195 MB / 0.9022 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01672, allocations: 0 / 0.9022 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.01709, allocations: 342.6 kB / 0.9025 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.0171, allocations: 7.953 kB / 0.9025 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.01713, allocations: 8 kB / 0.9025 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.01728, allocations: 23.97 kB / 0.9025 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.01731, allocations: 15.86 kB / 0.9026 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.01732, allocations: 19.98 kB / 0.9026 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.01736, allocations: 135.2 kB / 0.9027 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.01736, allocations: 0 / 0.9027 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000322/0.01768, allocations: 131.6 kB / 0.9028 GB, free: 11.94 MB / 0.8698 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.0002905/0.01797, allocations: 234.7 kB / 0.9031 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003546/0.01833, allocations: 173.3 kB / 0.9032 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.01833, allocations: 4 kB / 0.9032 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.01852, allocations: 99.78 kB / 0.9033 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01874, allocations: 47.92 kB / 0.9034 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007415/0.01948, allocations: 352.4 kB / 0.9037 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.01976, allocations: 68.14 kB / 0.9038 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.01991, allocations: 45.14 kB / 0.9038 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.0201, allocations: 118.1 kB / 0.9039 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of SimCode: time 7.41e-07/0.0201, allocations: 0 / 0.9039 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of Templates: time 0.007502/0.0276, allocations: 6.801 MB / 0.9106 GB, free: 4.035 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.110227215103805]