Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001438, allocations: 105.9 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6653 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001165, allocations: 60.83 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2809, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003317/0.2843, allocations: 2.029 MB / 0.9522 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.2866, allocations: 1.656 MB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.2867, allocations: 4 kB / 0.9539 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.559e-05/0.2868, allocations: 15.8 kB / 0.9539 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.837e-05/0.2869, allocations: 51.55 kB / 0.9539 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009577/0.2879, allocations: 354.8 kB / 0.9543 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.2881, allocations: 227 kB / 0.9545 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2883, allocations: 57.23 kB / 0.9545 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.144e-05/0.2884, allocations: 83.83 kB / 0.9546 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.2885, allocations: 83.67 kB / 0.9547 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.2885, allocations: 16 kB / 0.9547 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007042/0.2892, allocations: 399.5 kB / 0.9551 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.2893, allocations: 39.89 kB / 0.9551 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.2894, allocations: 87.66 kB / 0.9552 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.2899, allocations: 431.2 kB / 0.9556 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2899, allocations: 3.984 kB / 0.9556 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.61e-07/0.2899, allocations: 4 kB / 0.9556 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2899, allocations: 0 / 0.9556 GB, free: 3.32 MB / 0.7325 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.0006869/0.2906, allocations: 0.5108 MB / 0.9561 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.2907, allocations: 8.031 kB / 0.9561 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005494/0.2912, allocations: 92.64 kB / 0.9562 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2913, allocations: 184.1 kB / 0.9564 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/0.2914, allocations: 46.27 kB / 0.9565 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.2914, allocations: 12.38 kB / 0.9565 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.2918, allocations: 194 kB / 0.9567 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2918, allocations: 3.938 kB / 0.9567 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.2919, allocations: 7.938 kB / 0.9567 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2919, allocations: 4 kB / 0.9567 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/0.2923, allocations: 175.9 kB / 0.9568 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.2935, allocations: 0.9151 MB / 0.9577 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.294, allocations: 182.5 kB / 0.9579 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.2942, allocations: 76.83 kB / 0.958 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005964/0.2948, allocations: 0.5181 MB / 0.9585 GB, free: 60 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.2948, allocations: 34.56 kB / 0.9585 GB, free: 16 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.2948, allocations: 3.938 kB / 0.9585 GB, free: 12 kB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.000672/0.2955, allocations: 233.7 kB / 0.9587 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.2956, allocations: 55.41 kB / 0.9588 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.2957, allocations: 168.6 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.2957, allocations: 33.7 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.2958, allocations: 111.8 kB / 0.9591 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.2958, allocations: 51.34 kB / 0.9591 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.2959, allocations: 37.7 kB / 0.9592 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.296, allocations: 322.8 kB / 0.9595 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.2962, allocations: 71.95 kB / 0.9596 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.2964, allocations: 95.56 kB / 0.9596 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.2968, allocations: 147.7 kB / 0.9598 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2968, allocations: 3.938 kB / 0.9598 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004852/0.2973, allocations: 221.4 kB / 0.96 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2973, allocations: 4 kB / 0.96 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2973, allocations: 0 / 0.96 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.2974, allocations: 4 kB / 0.96 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.2976, allocations: 35.97 kB / 0.96 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.2976, allocations: 3.938 kB / 0.96 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.2978, allocations: 31.67 kB / 0.9601 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.2978, allocations: 8.031 kB / 0.9601 GB, free: 14.34 MB / 0.7481 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.0001151/0.298, allocations: 131.7 kB / 0.9602 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.298, allocations: 15.89 kB / 0.9602 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.2985, allocations: 193.8 kB / 0.9604 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2985, allocations: 4 kB / 0.9604 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2986, allocations: 0 / 0.9604 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2986, allocations: 3.984 kB / 0.9604 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.2999, allocations: 0.9778 MB / 0.9614 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3, allocations: 0 / 0.9614 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.3002, allocations: 35.97 kB / 0.9614 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3002, allocations: 0 / 0.9614 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.3002, allocations: 4 kB / 0.9614 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3002, allocations: 3.938 kB / 0.9614 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3002, allocations: 0 / 0.9614 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.3007, allocations: 297 kB / 0.9617 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.3008, allocations: 88.95 kB / 0.9618 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.3008, allocations: 7.984 kB / 0.9618 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.301, allocations: 19.98 kB / 0.9618 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.3011, allocations: 11.92 kB / 0.9618 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3011, allocations: 8 kB / 0.9618 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.369e-05/0.3012, allocations: 125.1 kB / 0.9619 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3012, allocations: 0 / 0.9619 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004517/0.3017, allocations: 131.8 kB / 0.9621 GB, free: 12.09 MB / 0.7481 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.0004118/0.3021, allocations: 227 kB / 0.9623 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004809/0.3026, allocations: 175.8 kB / 0.9625 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3026, allocations: 8.062 kB / 0.9625 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.3028, allocations: 83.89 kB / 0.9625 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3032, allocations: 42.02 kB / 0.9626 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007767/0.304, allocations: 362.5 kB / 0.9629 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.3043, allocations: 0.7086 MB / 0.9636 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.3044, allocations: 27.42 kB / 0.9637 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of SimCode: time 2.11e-07/0.3044, allocations: 0 / 0.9637 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of Templates: time 0.005606/0.31, allocations: 3.86 MB / 0.9674 GB, free: 6.578 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches