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.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.001335/0.001335, 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.001374/0.001374, 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.9716/0.9716, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.317/2.317, 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.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 1.833e-06/1.833e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.548e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.77 MB / 0.8542 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.002311/0.002336, allocations: 0.8553 MB / 0.8906 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.00383, allocations: 1.217 MB / 0.8918 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.003918, allocations: 0 / 0.8918 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.004052, allocations: 23.8 kB / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.004109, allocations: 27.78 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.004555, allocations: 139.6 kB / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.004766, allocations: 175.6 kB / 0.8921 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004869, allocations: 25.58 kB / 0.8921 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.004987, allocations: 87.81 kB / 0.8922 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.005085, allocations: 43.81 kB / 0.8923 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.005115, allocations: 12 kB / 0.8923 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.005182, allocations: 28 kB / 0.8923 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.005208, allocations: 15.91 kB / 0.8923 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.005258, allocations: 39.92 kB / 0.8924 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.00544, allocations: 119.6 kB / 0.8925 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.005443, allocations: 0 / 0.8925 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.203e-06/0.005444, allocations: 0 / 0.8925 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.005448, allocations: 0 / 0.8925 GB, free: 6.957 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004449/0.005893, allocations: 469.8 kB / 0.8929 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.005932, allocations: 12.62 kB / 0.8929 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.00598, allocations: 20.83 kB / 0.8929 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.006178, allocations: 167.5 kB / 0.8931 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.006196, allocations: 4.375 kB / 0.8931 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.006216, allocations: 12.38 kB / 0.8931 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.006329, allocations: 86 kB / 0.8932 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.006338, allocations: 4.125 kB / 0.8932 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.006346, allocations: 4.375 kB / 0.8932 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.006351, allocations: 4.375 kB / 0.8932 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.033e-05/0.006382, allocations: 15.92 kB / 0.8932 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.006786, allocations: 0.5683 MB / 0.8938 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.038e-05/0.006836, allocations: 39 kB / 0.8938 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.006851, allocations: 11.62 kB / 0.8938 GB, free: 5.414 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.006858, allocations: 3.984 kB / 0.8938 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.917e-05/0.006947, allocations: 69.09 kB / 0.8939 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.006948, allocations: 0 / 0.8939 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001529/0.007101, allocations: 65.83 kB / 0.894 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.007132, allocations: 59.34 kB / 0.894 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.007257, allocations: 209.7 kB / 0.8942 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.007275, allocations: 29.7 kB / 0.8943 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.007348, allocations: 162.7 kB / 0.8944 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.00736, allocations: 11.94 kB / 0.8944 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.007421, allocations: 39.34 kB / 0.8945 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.007557, allocations: 0.4923 MB / 0.8949 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.899e-05/0.007626, allocations: 53.67 kB / 0.895 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.007694, allocations: 76.73 kB / 0.8951 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.45e-05/0.007778, allocations: 84.7 kB / 0.8951 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.007781, allocations: 3.938 kB / 0.8951 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002212/0.008003, allocations: 185 kB / 0.8953 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.008037, allocations: 33.7 kB / 0.8954 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.008041, allocations: 0 / 0.8954 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.008053, allocations: 0 / 0.8954 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.406e-05/0.008097, allocations: 11.98 kB / 0.8954 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.0081, allocations: 80 / 0.8954 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.008218, allocations: 24.05 kB / 0.8954 GB, free: 3.672 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.008234, allocations: 12.05 kB / 0.8954 GB, free: 3.66 MB / 0.8542 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 8.502e-05/0.008319, allocations: 172.4 kB / 0.8956 GB, free: 3.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.008336, allocations: 15.91 kB / 0.8956 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.008365, allocations: 8.344 kB / 0.8956 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.008367, allocations: 0 / 0.8956 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.008369, allocations: 0 / 0.8956 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.008372, allocations: 3.938 kB / 0.8956 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.912e-05/0.008471, allocations: 121.2 kB / 0.8957 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008473, allocations: 0 / 0.8957 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.579e-05/0.008488, allocations: 7.938 kB / 0.8957 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.008491, allocations: 7.938 kB / 0.8957 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.008495, allocations: 0 / 0.8957 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.008496, allocations: 0 / 0.8957 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.008499, allocations: 4 kB / 0.8957 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.986e-05/0.008598, allocations: 92.38 kB / 0.8958 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.008613, allocations: 11.89 kB / 0.8958 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.008624, allocations: 0 / 0.8958 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.008642, allocations: 0 / 0.8958 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.008663, allocations: 8 kB / 0.8958 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.008669, allocations: 3.984 kB / 0.8958 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.148e-05/0.00873, allocations: 145.2 kB / 0.896 GB, free: 3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.00873, allocations: 7.938 kB / 0.896 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002142/0.008945, allocations: 23.98 kB / 0.896 GB, free: 2.969 MB / 0.8542 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.0001291/0.009074, allocations: 103.2 kB / 0.8961 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001691/0.009243, allocations: 140.7 kB / 0.8962 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.009246, allocations: 4 kB / 0.8962 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/0.00927, allocations: 15.62 kB / 0.8963 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.00948, allocations: 24.11 kB / 0.8963 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.009773, allocations: 185.8 kB / 0.8965 GB, free: 2.445 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.009807, allocations: 59.34 kB / 0.8965 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.009841, allocations: 8.719 kB / 0.8965 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.009936, allocations: 94.17 kB / 0.8966 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.009937, allocations: 0 / 0.8966 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of Templates: time 0.004301/0.01424, allocations: 1.672 MB / 0.8982 GB, free: 0.6328 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] 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","",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.269183660391718]