Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 197.1 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 497.2 MB / 0.7845 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 67.58 kB / 1.139 GB, free: 33.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2869, allocations: 173.9 MB / 1.309 GB, free: 15.97 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderInteger.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002167/0.2891, allocations: 0.8556 MB / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2905, allocations: 1.186 MB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.2906, allocations: 0 / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.2907, allocations: 31.73 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.2908, allocations: 19.86 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.2912, allocations: 151.4 kB / 1.311 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.2914, allocations: 171.6 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2915, allocations: 29.33 kB / 1.312 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.577e-05/0.2916, allocations: 55.84 kB / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.2917, allocations: 55.73 kB / 1.312 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.2918, allocations: 16 kB / 1.312 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.755e-05/0.2918, allocations: 27.94 kB / 1.312 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.2919, allocations: 23.92 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.789e-05/0.2919, allocations: 67.64 kB / 1.312 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.2921, allocations: 155.5 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2922, allocations: 0 / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2922, allocations: 4 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.2922, allocations: 0 / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000563/0.2927, allocations: 444.6 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2928, allocations: 12.62 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.2928, allocations: 12.84 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.2931, allocations: 225.6 kB / 1.313 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2931, allocations: 4.375 kB / 1.313 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.2931, allocations: 8.375 kB / 1.313 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.2933, allocations: 84.75 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2933, allocations: 4.188 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.2933, allocations: 3.938 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2933, allocations: 3.938 kB / 1.313 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.83e-05/0.2934, allocations: 27.98 kB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.2939, allocations: 0.5321 MB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.342e-05/0.294, allocations: 30.58 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.294, allocations: 12.91 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.294, allocations: 7.938 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.2941, allocations: 67.38 kB / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.2941, allocations: 0 / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002065/0.2943, allocations: 77.64 kB / 1.314 GB, free: 11.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.2944, allocations: 51.41 kB / 1.314 GB, free: 11.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.2945, allocations: 180.8 kB / 1.314 GB, free: 11.13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.2946, allocations: 33.7 kB / 1.314 GB, free: 11.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.2946, allocations: 108.1 kB / 1.314 GB, free: 10.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.2946, allocations: 7.953 kB / 1.314 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.2947, allocations: 33.7 kB / 1.314 GB, free: 10.94 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2948, allocations: 322.8 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.2949, allocations: 31.98 kB / 1.314 GB, free: 10.58 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-05/0.295, allocations: 54.56 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.2951, allocations: 100.3 kB / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2951, allocations: 0 / 1.314 GB, free: 10.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002719/0.2954, allocations: 171.2 kB / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.2954, allocations: 37.69 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2954, allocations: 4 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2955, allocations: 0 / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.2955, allocations: 4 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.2955, allocations: 0 / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.2957, allocations: 35.91 kB / 1.315 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.2957, allocations: 19.86 kB / 1.315 GB, free: 10.12 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 9.889e-05/0.2958, allocations: 121.8 kB / 1.315 GB, free: 9.992 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.2958, allocations: 7.953 kB / 1.315 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.2959, allocations: 12.94 kB / 1.315 GB, free: 9.969 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2959, allocations: 0 / 1.315 GB, free: 9.969 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2959, allocations: 4.219 kB / 1.315 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2959, allocations: 7.938 kB / 1.315 GB, free: 9.957 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.296, allocations: 185.6 kB / 1.315 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.296, allocations: 11.97 kB / 1.315 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.296, allocations: 4 kB / 1.315 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.296, allocations: 3.938 kB / 1.315 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.2961, allocations: 0 / 1.315 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2961, allocations: 4 kB / 1.315 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2961, allocations: 0 / 1.315 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.2962, allocations: 93.02 kB / 1.315 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.2962, allocations: 89.05 kB / 1.315 GB, free: 9.488 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2963, allocations: 4 kB / 1.315 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.097e-05/0.2963, allocations: 0 / 1.315 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.2963, allocations: 3.938 kB / 1.315 GB, free: 9.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.2963, allocations: 4 kB / 1.315 GB, free: 9.477 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.349e-05/0.2964, allocations: 124 kB / 1.315 GB, free: 9.355 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.2964, allocations: 0 / 1.315 GB, free: 9.355 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002114/0.2966, allocations: 27.94 kB / 1.315 GB, free: 9.328 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001365/0.2967, allocations: 107.2 kB / 1.315 GB, free: 9.215 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.297, allocations: 123.3 kB / 1.316 GB, free: 9.082 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.297, allocations: 0 / 1.316 GB, free: 9.082 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.297, allocations: 15.98 kB / 1.316 GB, free: 9.066 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.2972, allocations: 19.98 kB / 1.316 GB, free: 9.047 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.2976, allocations: 209.3 kB / 1.316 GB, free: 8.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.2979, allocations: 0.704 MB / 1.316 GB, free: 8.09 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.673e-05/0.2979, allocations: 12.36 kB / 1.316 GB, free: 8.074 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.2979, allocations: 11.44 kB / 1.316 GB, free: 8.066 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.2979, allocations: 0 / 1.316 GB, free: 8.066 MB / 1.014 GB Notification: Performance of Templates: time 0.004065/0.302, allocations: 1.47 MB / 1.318 GB, free: 6.625 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.080407319124788]