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.0009736/0.0009736, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009653/0.0009653, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.9287/0.9287, allocations: 177.1 MB / 203.8 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.122/2.122, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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 2.354e-06/2.354e-06, allocations: 0 / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.297e-05/3.533e-05, allocations: 5.547 kB / 0.8782 GB, free: 6.656 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.002632/0.002667, allocations: 0.8568 MB / 0.879 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.004583, allocations: 1.217 MB / 0.8802 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.004686, allocations: 4 kB / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.004854, allocations: 27.84 kB / 0.8802 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.355e-05/0.004947, allocations: 16.52 kB / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.005492, allocations: 140.2 kB / 0.8804 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.005758, allocations: 176.8 kB / 0.8806 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.005894, allocations: 21.58 kB / 0.8806 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.00603, allocations: 83.88 kB / 0.8807 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.006143, allocations: 48.58 kB / 0.8807 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.006178, allocations: 19.94 kB / 0.8807 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.613e-05/0.006254, allocations: 20.56 kB / 0.8807 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.006285, allocations: 19.92 kB / 0.8808 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.421e-05/0.006359, allocations: 49 kB / 0.8808 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.006596, allocations: 111.7 kB / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.0066, allocations: 0 / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.006601, allocations: 0.6562 kB / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.006607, allocations: 0 / 0.8809 GB, free: 3.867 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.0006542/0.007261, allocations: 467.4 kB / 0.8814 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.007307, allocations: 12.03 kB / 0.8814 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.118e-05/0.007388, allocations: 16.83 kB / 0.8814 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.007668, allocations: 166.8 kB / 0.8815 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.007696, allocations: 13.33 kB / 0.8816 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.00772, allocations: 4.375 kB / 0.8816 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.007882, allocations: 101.5 kB / 0.8817 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.007892, allocations: 4.125 kB / 0.8817 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.007905, allocations: 384 / 0.8817 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.007915, allocations: 4.375 kB / 0.8817 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.606e-05/0.007971, allocations: 19.92 kB / 0.8817 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/0.008531, allocations: 0.5951 MB / 0.8823 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.786e-05/0.008599, allocations: 31.06 kB / 0.8823 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.008624, allocations: 15.62 kB / 0.8823 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.008635, allocations: 8.047 kB / 0.8823 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.008748, allocations: 69.72 kB / 0.8824 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.00875, allocations: 0.5938 kB / 0.8824 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002199/0.00897, allocations: 65.64 kB / 0.8824 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.009012, allocations: 59.88 kB / 0.8825 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.009177, allocations: 209.1 kB / 0.8827 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.009207, allocations: 37.69 kB / 0.8827 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.009426, allocations: 146.8 kB / 0.8829 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.009444, allocations: 13.48 kB / 0.8829 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.691e-05/0.009521, allocations: 43.28 kB / 0.8829 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.009654, allocations: 0.4961 MB / 0.8834 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.009753, allocations: 57.69 kB / 0.8835 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.009853, allocations: 88.73 kB / 0.8836 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.009969, allocations: 88.69 kB / 0.8836 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009971, allocations: 0 / 0.8836 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002959/0.01027, allocations: 181 kB / 0.8838 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.01031, allocations: 37.7 kB / 0.8838 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.01031, allocations: 3.984 kB / 0.8839 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.01033, allocations: 0 / 0.8839 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.01039, allocations: 4 kB / 0.8839 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.0104, allocations: 4.062 kB / 0.8839 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.01055, allocations: 16.05 kB / 0.8839 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.01058, allocations: 16 kB / 0.8839 GB, free: 0.5234 MB / 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: 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 9.894e-05/0.01067, allocations: 164.5 kB / 0.884 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.0107, allocations: 7.953 kB / 0.8841 GB, free: 352 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.01073, allocations: 12.34 kB / 0.8841 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01073, allocations: 0 / 0.8841 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.01073, allocations: 0 / 0.8841 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01074, allocations: 3.938 kB / 0.8841 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.01086, allocations: 160.5 kB / 0.8842 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01087, allocations: 0 / 0.8842 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.01089, allocations: 0 / 0.8842 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01089, allocations: 4 kB / 0.8842 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.0109, allocations: 0 / 0.8842 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.0109, allocations: 0 / 0.8842 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.0109, allocations: 0 / 0.8842 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.01104, allocations: 104.5 kB / 0.8843 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.01107, allocations: 12.03 kB / 0.8843 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.01109, allocations: 0 / 0.8843 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.774e-05/0.01112, allocations: 0 / 0.8843 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.01115, allocations: 8 kB / 0.8843 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.01116, allocations: 3.984 kB / 0.8844 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.105e-05/0.01125, allocations: 149.6 kB / 0.8845 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01125, allocations: 3.938 kB / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002537/0.0115, allocations: 27.92 kB / 0.8845 GB, free: 15.8 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.0001568/0.01166, allocations: 107.2 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.0119, allocations: 144.8 kB / 0.8848 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01191, allocations: 0 / 0.8848 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.01194, allocations: 19.62 kB / 0.8848 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.01222, allocations: 31.98 kB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.01263, allocations: 185.9 kB / 0.885 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.479e-05/0.01267, allocations: 63.34 kB / 0.8851 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.554e-05/0.01271, allocations: 8.719 kB / 0.8851 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.01274, allocations: 12.5 kB / 0.8851 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of SimCode: time 6.92e-07/0.01274, allocations: 0 / 0.8851 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of Templates: time 0.00486/0.0176, allocations: 1.538 MB / 0.8866 GB, free: 13.66 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.2149032729212195]