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.001287/0.001287, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001206/0.001206, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9399/0.9399, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.737/1.737, allocations: 359 MB / 0.6055 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.553e-06/1.553e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.528e-05, allocations: 2.312 kB / 0.7875 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.0014/0.001416, allocations: 0.9127 MB / 0.7884 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.002575, allocations: 1.222 MB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.002653, allocations: 4 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.002773, allocations: 24.77 kB / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.002816, allocations: 23.73 kB / 0.7897 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.003172, allocations: 132.4 kB / 0.7898 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.003338, allocations: 178.1 kB / 0.79 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.003429, allocations: 29.58 kB / 0.79 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.00352, allocations: 83.8 kB / 0.7901 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.8e-05/0.003598, allocations: 39.89 kB / 0.7901 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.003621, allocations: 15.98 kB / 0.7901 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.456e-05/0.003676, allocations: 27.98 kB / 0.7902 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.003697, allocations: 17.61 kB / 0.7902 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.003737, allocations: 47.84 kB / 0.7902 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.003881, allocations: 111.7 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003883, allocations: 0 / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003883, allocations: 0 / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.003886, allocations: 0.5938 kB / 0.7903 GB, free: 9.367 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.0003707/0.004257, allocations: 462.4 kB / 0.7908 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.00429, allocations: 16.02 kB / 0.7908 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.004328, allocations: 17.88 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.00448, allocations: 171.6 kB / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.004494, allocations: 4.375 kB / 0.791 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.004508, allocations: 8.375 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.778e-05/0.004605, allocations: 99.25 kB / 0.7911 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.004613, allocations: 192 / 0.7911 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.004619, allocations: 384 / 0.7911 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.004626, allocations: 4.375 kB / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.004648, allocations: 17.77 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.004982, allocations: 0.5684 MB / 0.7917 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.192e-05/0.005024, allocations: 38.94 kB / 0.7917 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.214e-05/0.005036, allocations: 13.22 kB / 0.7917 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-06/0.005041, allocations: 0 / 0.7917 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.754e-05/0.005108, allocations: 65.05 kB / 0.7918 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.005109, allocations: 0 / 0.7918 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001266/0.005236, allocations: 74.09 kB / 0.7918 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.005261, allocations: 53.34 kB / 0.7919 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/0.00535, allocations: 200.5 kB / 0.7921 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.005365, allocations: 33.7 kB / 0.7921 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.005424, allocations: 162.7 kB / 0.7923 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.005435, allocations: 7.938 kB / 0.7923 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.005477, allocations: 37.92 kB / 0.7923 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.005585, allocations: 0.4923 MB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-05/0.005631, allocations: 45.69 kB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.224e-05/0.005684, allocations: 88.72 kB / 0.7929 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.347e-05/0.005747, allocations: 84.69 kB / 0.793 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.00575, allocations: 3.938 kB / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000158/0.005908, allocations: 178.3 kB / 0.7932 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.005934, allocations: 37.69 kB / 0.7932 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.005938, allocations: 0.5312 kB / 0.7932 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.00595, allocations: 5.656 kB / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.45e-05/0.005984, allocations: 0 / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.005986, allocations: 0 / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.973e-05/0.006076, allocations: 31.92 kB / 0.7932 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.006087, allocations: 4.531 kB / 0.7933 GB, free: 6.105 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 6.466e-05/0.006152, allocations: 161.1 kB / 0.7934 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.006163, allocations: 12.67 kB / 0.7934 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.006188, allocations: 16.56 kB / 0.7934 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.006191, allocations: 4.891 kB / 0.7934 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006192, allocations: 0 / 0.7934 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006195, allocations: 4.719 kB / 0.7934 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.02e-05/0.006275, allocations: 121.2 kB / 0.7936 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.006276, allocations: 1.156 kB / 0.7936 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-06/0.006283, allocations: 0 / 0.7936 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.006286, allocations: 7.922 kB / 0.7936 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.00629, allocations: 0 / 0.7936 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006291, allocations: 4.844 kB / 0.7936 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006292, allocations: 0 / 0.7936 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.341e-05/0.006365, allocations: 89.8 kB / 0.7937 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.006377, allocations: 11.89 kB / 0.7937 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.006386, allocations: 3.984 kB / 0.7937 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.255e-05/0.006399, allocations: 4 kB / 0.7937 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.006416, allocations: 5.062 kB / 0.7937 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.006419, allocations: 4 kB / 0.7937 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.966e-05/0.006469, allocations: 147.1 kB / 0.7938 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006469, allocations: 1.938 kB / 0.7938 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001393/0.006608, allocations: 27.89 kB / 0.7939 GB, free: 5.434 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 9.092e-05/0.006699, allocations: 103.2 kB / 0.794 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.006831, allocations: 143.2 kB / 0.7941 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.006833, allocations: 0 / 0.7941 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.062e-05/0.006853, allocations: 23.61 kB / 0.7941 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.006997, allocations: 20.05 kB / 0.7941 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.007228, allocations: 187.8 kB / 0.7943 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.871e-05/0.007256, allocations: 63.34 kB / 0.7944 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.007278, allocations: 8.719 kB / 0.7944 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.007353, allocations: 91.38 kB / 0.7945 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.007354, allocations: 0 / 0.7945 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of Templates: time 0.002956/0.01031, allocations: 1.675 MB / 0.7961 GB, free: 3.105 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.804634109605104]