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.0009599/0.0009599, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009203/0.0009203, allocations: 169 kB / 23.02 MB, free: 1.547 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.954/0.954, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.108/2.108, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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 1.853e-06/1.853e-06, allocations: 0.6562 kB / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.664e-05, allocations: 3 kB / 0.8781 GB, free: 6.344 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.00145/0.001466, allocations: 0.9368 MB / 0.8791 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.002654, allocations: 1.222 MB / 0.8803 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.002722, allocations: 4.844 kB / 0.8803 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.00285, allocations: 27.78 kB / 0.8803 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.573e-05/0.002896, allocations: 20.56 kB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.003258, allocations: 140.4 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.00342, allocations: 175.5 kB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.003527, allocations: 30.67 kB / 0.8806 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.985e-05/0.003617, allocations: 79.86 kB / 0.8807 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.003702, allocations: 39.88 kB / 0.8807 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.003725, allocations: 17.03 kB / 0.8808 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.983e-05/0.003785, allocations: 23.98 kB / 0.8808 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.003808, allocations: 15.94 kB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.003864, allocations: 56.92 kB / 0.8809 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.004027, allocations: 115.6 kB / 0.881 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004029, allocations: 0.9688 kB / 0.881 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.61e-07/0.00403, allocations: 0 / 0.881 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.004034, allocations: 0 / 0.881 GB, free: 3.469 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.0006169/0.004651, allocations: 462.6 kB / 0.8814 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.004692, allocations: 12.03 kB / 0.8814 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.004751, allocations: 20.34 kB / 0.8814 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.004961, allocations: 167.5 kB / 0.8816 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.004982, allocations: 8.375 kB / 0.8816 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.005002, allocations: 4.375 kB / 0.8816 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.005132, allocations: 101.9 kB / 0.8817 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.005145, allocations: 192 / 0.8817 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.005157, allocations: 4.375 kB / 0.8817 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.005166, allocations: 1 kB / 0.8817 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.075e-05/0.005207, allocations: 23.92 kB / 0.8817 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.005637, allocations: 0.5918 MB / 0.8823 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.713e-05/0.005695, allocations: 36.52 kB / 0.8824 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.005714, allocations: 15.75 kB / 0.8824 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-06/0.005721, allocations: 0 / 0.8824 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.345e-05/0.005804, allocations: 73 kB / 0.8824 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.005807, allocations: 3.984 kB / 0.8824 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001704/0.005977, allocations: 77.56 kB / 0.8825 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.006006, allocations: 51.41 kB / 0.8826 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.006113, allocations: 201.9 kB / 0.8828 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.00613, allocations: 29.7 kB / 0.8828 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.006191, allocations: 150.8 kB / 0.8829 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.006206, allocations: 15.84 kB / 0.8829 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.006253, allocations: 39.36 kB / 0.883 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.006361, allocations: 0.4961 MB / 0.8835 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/0.006428, allocations: 53.69 kB / 0.8835 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.0065, allocations: 92.73 kB / 0.8836 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.968e-05/0.00658, allocations: 88.75 kB / 0.8837 GB, free: 424 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006582, allocations: 0 / 0.8837 GB, free: 424 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001843/0.006766, allocations: 185 kB / 0.8839 GB, free: 220 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.006795, allocations: 37.69 kB / 0.8839 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.0068, allocations: 4 kB / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.006816, allocations: 0 / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-05/0.006863, allocations: 0 / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.00687, allocations: 8.062 kB / 0.8839 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.006972, allocations: 15.98 kB / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.006986, allocations: 7.984 kB / 0.8839 GB, free: 140 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 8.131e-05/0.007068, allocations: 168.5 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.00708, allocations: 11.95 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.007108, allocations: 8.328 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.007111, allocations: 4 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.007114, allocations: 0 / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.007117, allocations: 3.938 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.44e-05/0.007202, allocations: 148.5 kB / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.007204, allocations: 4 kB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/0.007216, allocations: 0 / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.007217, allocations: 0 / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.007222, allocations: 0 / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.007224, allocations: 4 kB / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007225, allocations: 0 / 0.8843 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.985e-05/0.007314, allocations: 112.2 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.007326, allocations: 3.953 kB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.007338, allocations: 4 kB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.165e-05/0.00735, allocations: 0 / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.007383, allocations: 7.984 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.007388, allocations: 4 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.343e-05/0.007451, allocations: 157 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007451, allocations: 0 / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001475/0.007599, allocations: 23.94 kB / 0.8846 GB, free: 15.41 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.000101/0.0077, allocations: 99.25 kB / 0.8847 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001717/0.007871, allocations: 152.7 kB / 0.8848 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.007873, allocations: 0 / 0.8848 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.561e-05/0.007898, allocations: 23.8 kB / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.008073, allocations: 22 kB / 0.8849 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.008372, allocations: 189.9 kB / 0.885 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.356e-05/0.008405, allocations: 59.34 kB / 0.8851 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.008428, allocations: 5.203 kB / 0.8851 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.008448, allocations: 12.5 kB / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.008448, allocations: 0 / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of Templates: time 0.00321/0.01166, allocations: 1.546 MB / 0.8866 GB, free: 13.27 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.567565150093287]