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.0015/0.0015, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001577/0.001577, allocations: 169 kB / 24.27 MB, free: 276 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 1.01/1.01, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.766/1.766, allocations: 359 MB / 0.6055 GB, free: 10.97 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.583e-06/1.583e-06, allocations: 1.203 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.874e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.78 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.001488/0.001507, allocations: 0.9137 MB / 0.788 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.002732, allocations: 1.214 MB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.053e-05/0.002813, allocations: 4.562 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.002957, allocations: 27.73 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.774e-05/0.003005, allocations: 21.09 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.00344, allocations: 145.1 kB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.003642, allocations: 167.6 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.003754, allocations: 29.56 kB / 0.7896 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.003867, allocations: 83.83 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.003953, allocations: 41.09 kB / 0.7897 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.003976, allocations: 12 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.862e-05/0.004035, allocations: 23.98 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.004061, allocations: 24.53 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.004115, allocations: 39.92 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.004287, allocations: 121 kB / 0.7899 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004289, allocations: 0 / 0.7899 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00429, allocations: 3.938 kB / 0.7899 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.004294, allocations: 0 / 0.7899 GB, free: 9.934 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.000436/0.004729, allocations: 462.7 kB / 0.7903 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.004763, allocations: 8.031 kB / 0.7903 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.004814, allocations: 17.41 kB / 0.7904 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.005047, allocations: 177.9 kB / 0.7905 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.005066, allocations: 8.375 kB / 0.7905 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.005082, allocations: 8.375 kB / 0.7905 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.005199, allocations: 90.66 kB / 0.7906 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.005205, allocations: 5.156 kB / 0.7906 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.005215, allocations: 384 / 0.7906 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.005222, allocations: 384 / 0.7906 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.869e-05/0.00526, allocations: 31.14 kB / 0.7907 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.005663, allocations: 0.5912 MB / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/0.005708, allocations: 27.06 kB / 0.7913 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.005728, allocations: 15.75 kB / 0.7913 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.005735, allocations: 3.984 kB / 0.7913 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.019e-05/0.005816, allocations: 68.98 kB / 0.7913 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.005817, allocations: 0 / 0.7913 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001621/0.005979, allocations: 70.34 kB / 0.7914 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.006012, allocations: 51.41 kB / 0.7915 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.006124, allocations: 210.2 kB / 0.7917 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.00614, allocations: 29.7 kB / 0.7917 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.006208, allocations: 162.7 kB / 0.7918 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.006221, allocations: 7.938 kB / 0.7919 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.006266, allocations: 36.7 kB / 0.7919 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.006456, allocations: 0.5039 MB / 0.7924 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.756e-05/0.006523, allocations: 61.61 kB / 0.7924 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.343e-05/0.006587, allocations: 80.75 kB / 0.7925 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.42e-05/0.006661, allocations: 86.34 kB / 0.7926 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.006663, allocations: 0 / 0.7926 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001859/0.006849, allocations: 194.5 kB / 0.7928 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.006876, allocations: 29.7 kB / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.00688, allocations: 4 kB / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.006892, allocations: 0 / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.00694, allocations: 4.969 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.006945, allocations: 0 / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.007048, allocations: 28.45 kB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.007061, allocations: 4.531 kB / 0.7929 GB, free: 6.609 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 8.031e-05/0.007141, allocations: 165.6 kB / 0.793 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.007154, allocations: 11.95 kB / 0.793 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.007179, allocations: 12.92 kB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.007181, allocations: 0 / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.007185, allocations: 4.594 kB / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.00719, allocations: 0 / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.319e-05/0.007283, allocations: 145.9 kB / 0.7932 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.007284, allocations: 0 / 0.7932 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-06/0.007292, allocations: 0 / 0.7932 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007293, allocations: 1.156 kB / 0.7932 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.007301, allocations: 7.984 kB / 0.7932 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.007302, allocations: 3.938 kB / 0.7932 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.007303, allocations: 0.9375 kB / 0.7932 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.368e-05/0.007397, allocations: 100.3 kB / 0.7933 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.007407, allocations: 3.953 kB / 0.7933 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.007421, allocations: 9.547 kB / 0.7933 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.176e-05/0.007433, allocations: 0 / 0.7933 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.007464, allocations: 0 / 0.7933 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.00747, allocations: 4 kB / 0.7933 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.7e-05/0.007537, allocations: 152.5 kB / 0.7934 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007537, allocations: 0 / 0.7934 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000154/0.007691, allocations: 27.89 kB / 0.7935 GB, free: 5.906 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.0001113/0.007802, allocations: 108.1 kB / 0.7936 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.007974, allocations: 147 kB / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.007975, allocations: 0 / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.607e-05/0.008001, allocations: 23.67 kB / 0.7937 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.008181, allocations: 34.45 kB / 0.7938 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.008462, allocations: 185.3 kB / 0.794 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.217e-05/0.008494, allocations: 63.34 kB / 0.794 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.275e-05/0.008517, allocations: 8.719 kB / 0.794 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.008533, allocations: 12.5 kB / 0.794 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of SimCode: time 4.8e-07/0.008533, allocations: 0 / 0.794 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of Templates: time 0.00339/0.01192, allocations: 1.531 MB / 0.7955 GB, free: 3.793 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: 5.018693988211453]