Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.001584/0.001584, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001585/0.001585, allocations: 169 kB / 24.06 MB, free: 452 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.107/1.107, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.207/2.207, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.578e-05, allocations: 5.125 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/Utilities/PlaceholderInteger.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.PlaceholderInteger): time 0.001703/0.001738, allocations: 0.8622 MB / 0.8802 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.003065, allocations: 1.216 MB / 0.8814 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.59e-05/0.003151, allocations: 3.938 kB / 0.8814 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.003296, allocations: 29.42 kB / 0.8814 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.464e-05/0.003341, allocations: 15.86 kB / 0.8814 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.003758, allocations: 144.3 kB / 0.8816 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.003943, allocations: 172.5 kB / 0.8817 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.004045, allocations: 29.56 kB / 0.8818 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.449e-05/0.00414, allocations: 76.75 kB / 0.8818 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.004234, allocations: 47.81 kB / 0.8819 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.004256, allocations: 13.09 kB / 0.8819 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.037e-05/0.004317, allocations: 27.98 kB / 0.8819 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.004342, allocations: 19.86 kB / 0.882 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.004387, allocations: 48.84 kB / 0.882 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.004555, allocations: 119.6 kB / 0.8821 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004557, allocations: 1.094 kB / 0.8821 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004559, allocations: 0 / 0.8821 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.004563, allocations: 0 / 0.8821 GB, free: 3.227 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.0004434/0.005007, allocations: 458.8 kB / 0.8826 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.005051, allocations: 16.02 kB / 0.8826 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.005107, allocations: 16.89 kB / 0.8826 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.005342, allocations: 172.7 kB / 0.8827 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.005365, allocations: 8.375 kB / 0.8828 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.005382, allocations: 4.375 kB / 0.8828 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.005505, allocations: 93.98 kB / 0.8829 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.005515, allocations: 192 / 0.8829 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.005525, allocations: 4.375 kB / 0.8829 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.005533, allocations: 12.3 kB / 0.8829 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.197e-05/0.005565, allocations: 19.86 kB / 0.8829 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008051/0.006371, allocations: 0.5606 MB / 0.8834 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.691e-05/0.006428, allocations: 35.62 kB / 0.8835 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.006443, allocations: 16.34 kB / 0.8835 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.00645, allocations: 1.531 kB / 0.8835 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.911e-05/0.006539, allocations: 68.94 kB / 0.8835 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.00654, allocations: 0 / 0.8835 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001453/0.006686, allocations: 65.62 kB / 0.8836 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.006718, allocations: 59.41 kB / 0.8837 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.006822, allocations: 211.5 kB / 0.8839 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.006839, allocations: 29.7 kB / 0.8839 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.006903, allocations: 158.8 kB / 0.8841 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.006913, allocations: 3.953 kB / 0.8841 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.006965, allocations: 47.28 kB / 0.8841 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.007081, allocations: 0.4884 MB / 0.8846 GB, free: 500 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.007136, allocations: 57.67 kB / 0.8846 GB, free: 436 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.007191, allocations: 80.73 kB / 0.8847 GB, free: 336 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.082e-05/0.007262, allocations: 84.75 kB / 0.8848 GB, free: 232 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.007265, allocations: 3.938 kB / 0.8848 GB, free: 228 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001832/0.007448, allocations: 184.8 kB / 0.885 GB, free: 24 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.007491, allocations: 33.7 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.007496, allocations: 4 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.007505, allocations: 0 / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/0.007549, allocations: 8.062 kB / 0.885 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.007552, allocations: 0 / 0.885 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.007653, allocations: 19.97 kB / 0.885 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.007666, allocations: 8.062 kB / 0.885 GB, free: 15.95 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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.784e-05/0.007744, allocations: 168.5 kB / 0.8852 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.007756, allocations: 7.953 kB / 0.8852 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.007781, allocations: 12.33 kB / 0.8852 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.007784, allocations: 0 / 0.8852 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.007786, allocations: 0 / 0.8852 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.00779, allocations: 0 / 0.8852 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.906e-05/0.007879, allocations: 121.2 kB / 0.8853 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.00788, allocations: 0 / 0.8853 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/0.007894, allocations: 7.984 kB / 0.8853 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007897, allocations: 11.88 kB / 0.8854 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.007901, allocations: 0 / 0.8854 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007902, allocations: 0 / 0.8854 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007903, allocations: 0 / 0.8854 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.75e-05/0.00799, allocations: 92.39 kB / 0.8854 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.008006, allocations: 15.88 kB / 0.8855 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.008018, allocations: 4 kB / 0.8855 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.406e-05/0.008032, allocations: 0 / 0.8855 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.00805, allocations: 288 / 0.8855 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.008054, allocations: 4 kB / 0.8855 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.042e-05/0.008104, allocations: 149.6 kB / 0.8856 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008104, allocations: 4 kB / 0.8856 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000157/0.008261, allocations: 27.94 kB / 0.8856 GB, free: 15.27 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: 4 ($whenCondition1,$whenCondition2,pul.y,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.0001189/0.00838, allocations: 99.23 kB / 0.8857 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.008532, allocations: 144.7 kB / 0.8859 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.008534, allocations: 0 / 0.8859 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.01e-05/0.008554, allocations: 19.67 kB / 0.8859 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.008725, allocations: 24.98 kB / 0.8859 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.00897, allocations: 196.5 kB / 0.8861 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.021e-05/0.009, allocations: 63.34 kB / 0.8862 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.545e-05/0.009025, allocations: 8.719 kB / 0.8862 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.009105, allocations: 94.19 kB / 0.8863 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of SimCode: time 8.62e-07/0.009106, allocations: 0 / 0.8863 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.003459/0.01256, allocations: 1.695 MB / 0.8879 GB, free: 12.89 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.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.637330351863056]