Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009316/0.0009316, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009402/0.0009402, allocations: 169 kB / 23.03 MB, free: 1.539 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.9525/0.9525, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.281/2.281, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.826e-06/2.826e-06, allocations: 3.938 kB / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.724e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.007979/0.008006, allocations: 0.9295 MB / 0.8791 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.009457, allocations: 1.222 MB / 0.8803 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.009537, allocations: 5.031 kB / 0.8803 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.009667, allocations: 27.73 kB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.00972, allocations: 16.84 kB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.01013, allocations: 139.6 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.01032, allocations: 176.5 kB / 0.8806 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.01042, allocations: 29.56 kB / 0.8806 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.01051, allocations: 87.31 kB / 0.8807 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.174e-05/0.0106, allocations: 35.89 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.01062, allocations: 12 kB / 0.8808 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.169e-05/0.01068, allocations: 31.91 kB / 0.8808 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.01071, allocations: 19.92 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.01076, allocations: 43.92 kB / 0.8808 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00604/0.0168, allocations: 119.6 kB / 0.881 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01681, allocations: 0 / 0.881 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.542e-06/0.01681, allocations: 0 / 0.881 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.01681, allocations: 0 / 0.881 GB, free: 3.453 MB / 0.8386 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.0004811/0.01729, allocations: 470.4 kB / 0.8814 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.01733, allocations: 9.375 kB / 0.8814 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.0174, allocations: 12.89 kB / 0.8814 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.01762, allocations: 171.5 kB / 0.8816 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.01764, allocations: 8.375 kB / 0.8816 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.01766, allocations: 8.375 kB / 0.8816 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.01779, allocations: 97.88 kB / 0.8817 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.0178, allocations: 9.453 kB / 0.8817 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.01781, allocations: 384 / 0.8817 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.01782, allocations: 384 / 0.8817 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/0.01786, allocations: 31.86 kB / 0.8817 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.0183, allocations: 0.5951 MB / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.402e-05/0.01836, allocations: 27.06 kB / 0.8824 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.01838, allocations: 15.75 kB / 0.8824 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.01839, allocations: 0 / 0.8824 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.106e-05/0.01848, allocations: 72.94 kB / 0.8824 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.01848, allocations: 0 / 0.8824 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001775/0.01866, allocations: 69.62 kB / 0.8825 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.01869, allocations: 55.41 kB / 0.8826 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.01881, allocations: 207.9 kB / 0.8828 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.01883, allocations: 29.7 kB / 0.8828 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.0189, allocations: 154.8 kB / 0.8829 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.01892, allocations: 11.84 kB / 0.8829 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.01898, allocations: 39.36 kB / 0.883 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.0191, allocations: 0.4961 MB / 0.8835 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.01918, allocations: 57.62 kB / 0.8835 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.01926, allocations: 88.73 kB / 0.8836 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.43e-05/0.01933, allocations: 84.81 kB / 0.8837 GB, free: 404 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01933, allocations: 4 kB / 0.8837 GB, free: 400 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001766/0.01951, allocations: 185 kB / 0.8839 GB, free: 196 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.01953, allocations: 33.69 kB / 0.8839 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.01954, allocations: 7.938 kB / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.01955, allocations: 0 / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/0.01959, allocations: 8 kB / 0.8839 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.0196, allocations: 0 / 0.8839 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.0197, allocations: 23.91 kB / 0.8839 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.01972, allocations: 4 kB / 0.8839 GB, free: 112 kB / 0.8386 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 9.933e-05/0.01982, allocations: 168.6 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.01983, allocations: 11.95 kB / 0.8841 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.01986, allocations: 12.33 kB / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01986, allocations: 0 / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01986, allocations: 0 / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01987, allocations: 0 / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.024e-05/0.01996, allocations: 144.5 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01996, allocations: 0 / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.357e-05/0.01997, allocations: 0 / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.01997, allocations: 0 / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.01998, allocations: 8 kB / 0.8843 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01998, allocations: 3.984 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01999, allocations: 3.938 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.714e-05/0.02008, allocations: 104.3 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.02009, allocations: 4.234 kB / 0.8844 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.02011, allocations: 4 kB / 0.8844 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.02013, allocations: 3.984 kB / 0.8844 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.02015, allocations: 0 / 0.8844 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/0.02039, allocations: 7.984 kB / 0.8844 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.976e-05/0.02046, allocations: 157.2 kB / 0.8845 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02046, allocations: 0 / 0.8845 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001645/0.02062, allocations: 27.94 kB / 0.8846 GB, free: 15.39 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: 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.0001523/0.02077, allocations: 99.23 kB / 0.8847 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.02096, allocations: 152.7 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.02096, allocations: 0 / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.64e-05/0.02099, allocations: 23.67 kB / 0.8848 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.02118, allocations: 25.98 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/0.02156, allocations: 194 kB / 0.885 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.0216, allocations: 59.34 kB / 0.8851 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.904e-05/0.02163, allocations: 8.734 kB / 0.8851 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.02165, allocations: 8.5 kB / 0.8851 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.02165, allocations: 4 kB / 0.8851 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.003886/0.02554, allocations: 1.655 MB / 0.8867 GB, free: 13.13 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.787494880147278]