Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001/0.001, allocations: 77.97 kB / 21.47 MB, free: 3.031 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.001136/0.001136, allocations: 159.1 kB / 24.86 MB, free: 9.273 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 1.012/1.012, allocations: 177.2 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.756/1.756, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.748e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderReal.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.PlaceholderReal): time 0.001739/0.001767, allocations: 0.9278 MB / 0.7892 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.003075, allocations: 1.205 MB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.00316, allocations: 11.88 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.003295, allocations: 25.03 kB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.423e-05/0.003339, allocations: 15.81 kB / 0.7904 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.003769, allocations: 148.3 kB / 0.7906 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.003974, allocations: 167.6 kB / 0.7907 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.004079, allocations: 26.97 kB / 0.7908 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.979e-05/0.004179, allocations: 87.81 kB / 0.7908 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/0.004264, allocations: 39.88 kB / 0.7909 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.00429, allocations: 17.06 kB / 0.7909 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.027e-05/0.00435, allocations: 23.98 kB / 0.7909 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.004377, allocations: 15.94 kB / 0.7909 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.004422, allocations: 49.45 kB / 0.791 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.004594, allocations: 119.6 kB / 0.7911 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.004598, allocations: 3.984 kB / 0.7911 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004599, allocations: 0 / 0.7911 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.004604, allocations: 1.562 kB / 0.7911 GB, free: 9.348 MB / 0.7448 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.0004015/0.005006, allocations: 453.9 kB / 0.7915 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.005043, allocations: 12.03 kB / 0.7915 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.005087, allocations: 16.84 kB / 0.7916 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.005273, allocations: 169.4 kB / 0.7917 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.005291, allocations: 4.938 kB / 0.7917 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.005308, allocations: 12.38 kB / 0.7917 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.005415, allocations: 95.14 kB / 0.7918 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.005423, allocations: 192 / 0.7918 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.005432, allocations: 384 / 0.7918 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.005439, allocations: 6.547 kB / 0.7918 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.615e-05/0.005476, allocations: 19.88 kB / 0.7919 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.005876, allocations: 0.5645 MB / 0.7924 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.379e-05/0.005929, allocations: 34.98 kB / 0.7924 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.005946, allocations: 17.78 kB / 0.7925 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.005951, allocations: 0 / 0.7925 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.988e-05/0.006041, allocations: 68.98 kB / 0.7925 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.006042, allocations: 0 / 0.7925 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001444/0.006186, allocations: 61.78 kB / 0.7926 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.006226, allocations: 60.11 kB / 0.7926 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.006327, allocations: 200.5 kB / 0.7928 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.006345, allocations: 34.17 kB / 0.7929 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.006416, allocations: 162.7 kB / 0.793 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.006434, allocations: 13.59 kB / 0.793 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.006482, allocations: 35.36 kB / 0.7931 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004282/0.00691, allocations: 0.4961 MB / 0.7935 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.394e-05/0.006964, allocations: 45.69 kB / 0.7936 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/0.007023, allocations: 85.42 kB / 0.7937 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.225e-05/0.007095, allocations: 81.78 kB / 0.7938 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.007099, allocations: 3.938 kB / 0.7938 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001747/0.007273, allocations: 186.1 kB / 0.7939 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.007308, allocations: 43.41 kB / 0.794 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.007312, allocations: 1.375 kB / 0.794 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.00732, allocations: 0 / 0.794 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.321e-05/0.007364, allocations: 4 kB / 0.794 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.007366, allocations: 0 / 0.794 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.007467, allocations: 21.69 kB / 0.794 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.007482, allocations: 12 kB / 0.794 GB, free: 6.09 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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 7.826e-05/0.00756, allocations: 165.5 kB / 0.7942 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.007572, allocations: 7.953 kB / 0.7942 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.007598, allocations: 12.34 kB / 0.7942 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007601, allocations: 1.438 kB / 0.7942 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007602, allocations: 0 / 0.7942 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007606, allocations: 0 / 0.7942 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.114e-05/0.007687, allocations: 121.2 kB / 0.7943 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007688, allocations: 1.312 kB / 0.7943 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.215e-05/0.0077, allocations: 4 kB / 0.7943 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.007703, allocations: 3.938 kB / 0.7943 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-06/0.007707, allocations: 6.969 kB / 0.7943 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007709, allocations: 0 / 0.7943 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.007709, allocations: 0 / 0.7943 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.97e-05/0.007809, allocations: 96.38 kB / 0.7944 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.007822, allocations: 11.89 kB / 0.7944 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-06/0.007831, allocations: 0 / 0.7944 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.425e-05/0.007845, allocations: 0 / 0.7944 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.007868, allocations: 7.984 kB / 0.7944 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.007872, allocations: 0 / 0.7944 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.358e-05/0.007925, allocations: 155.6 kB / 0.7946 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007925, allocations: 1.938 kB / 0.7946 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001441/0.008069, allocations: 27.89 kB / 0.7946 GB, free: 5.422 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,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.0001206/0.00819, allocations: 95.25 kB / 0.7947 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.008347, allocations: 147.3 kB / 0.7948 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.008349, allocations: 0 / 0.7948 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.00837, allocations: 19.67 kB / 0.7949 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.008616, allocations: 23.56 kB / 0.7949 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.009, allocations: 194.7 kB / 0.7951 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/0.009047, allocations: 63.34 kB / 0.7951 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.009082, allocations: 5.578 kB / 0.7951 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.009198, allocations: 90.17 kB / 0.7952 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.009199, allocations: 1.281 kB / 0.7952 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of Templates: time 0.004064/0.01326, allocations: 1.696 MB / 0.7969 GB, free: 3.074 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.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: 4.9567714631557465]