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.001883/0.001883, allocations: 85.48 kB / 19.44 MB, free: 340 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.002085/0.002085, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.574/1.574, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.415/3.415, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] 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.805e-06/2.805e-06, allocations: 0 / 0.8774 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.478e-05, allocations: 2.859 kB / 0.8774 GB, free: 5.539 MB / 0.7917 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.00306/0.003095, allocations: 0.8495 MB / 0.8783 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.005669, allocations: 1.204 MB / 0.8794 GB, free: 3.5 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-05/0.005769, allocations: 4 kB / 0.8794 GB, free: 3.496 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.005954, allocations: 26.94 kB / 0.8795 GB, free: 3.473 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.00603, allocations: 18.61 kB / 0.8795 GB, free: 3.457 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.006656, allocations: 136.8 kB / 0.8796 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.007002, allocations: 176.6 kB / 0.8798 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.007143, allocations: 25.52 kB / 0.8798 GB, free: 3.125 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.007325, allocations: 87.86 kB / 0.8799 GB, free: 3.039 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.007476, allocations: 40.94 kB / 0.8799 GB, free: 3 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.007526, allocations: 16 kB / 0.8799 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.542e-05/0.007621, allocations: 27.92 kB / 0.88 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.007661, allocations: 20.84 kB / 0.88 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.007766, allocations: 43.89 kB / 0.88 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.008305, allocations: 175.6 kB / 0.8802 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.008309, allocations: 4.719 kB / 0.8802 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.92e-07/0.00831, allocations: 0 / 0.8802 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.008315, allocations: 1.656 kB / 0.8802 GB, free: 2.719 MB / 0.7917 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.0008428/0.009157, allocations: 469.5 kB / 0.8807 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.0092, allocations: 8.031 kB / 0.8807 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.301e-05/0.009293, allocations: 20.84 kB / 0.8807 GB, free: 2.188 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.009686, allocations: 174.6 kB / 0.8809 GB, free: 1.992 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.009715, allocations: 8.359 kB / 0.8809 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.009756, allocations: 12.38 kB / 0.8809 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.009973, allocations: 89.3 kB / 0.881 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.009983, allocations: 1.375 kB / 0.881 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.009993, allocations: 384 / 0.881 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.009997, allocations: 8.25 kB / 0.881 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.205e-05/0.01007, allocations: 29.53 kB / 0.881 GB, free: 1.832 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009196/0.01099, allocations: 0.6068 MB / 0.8816 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.0111, allocations: 43.05 kB / 0.8816 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.01114, allocations: 14.22 kB / 0.8816 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.01116, allocations: 3.938 kB / 0.8816 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.01133, allocations: 77.05 kB / 0.8817 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.01133, allocations: 0 / 0.8817 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0003479/0.01168, allocations: 85.58 kB / 0.8818 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.01175, allocations: 55.34 kB / 0.8819 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.01209, allocations: 235.7 kB / 0.8821 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.01213, allocations: 31.77 kB / 0.8821 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.0123, allocations: 154.8 kB / 0.8823 GB, free: 432 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.01233, allocations: 11.91 kB / 0.8823 GB, free: 420 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.01245, allocations: 43.36 kB / 0.8823 GB, free: 368 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003854/0.01284, allocations: 0.5 MB / 0.8828 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.01303, allocations: 77.69 kB / 0.8829 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.01326, allocations: 108.7 kB / 0.883 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.01349, allocations: 104.7 kB / 0.8831 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01349, allocations: 0 / 0.8831 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005488/0.01404, allocations: 216.9 kB / 0.8833 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.728e-05/0.01412, allocations: 41.69 kB / 0.8833 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.01412, allocations: 0 / 0.8833 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.01414, allocations: 4 kB / 0.8833 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.0142, allocations: 4.125 kB / 0.8833 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.01422, allocations: 8 kB / 0.8833 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.01445, allocations: 19.92 kB / 0.8834 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.01449, allocations: 7.984 kB / 0.8834 GB, free: 15.2 MB / 0.8073 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 0.000186/0.01467, allocations: 172.5 kB / 0.8835 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.01469, allocations: 7.953 kB / 0.8835 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.01473, allocations: 12.34 kB / 0.8835 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.01474, allocations: 3.984 kB / 0.8836 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01474, allocations: 0 / 0.8836 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01474, allocations: 4 kB / 0.8836 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.01493, allocations: 160.5 kB / 0.8837 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01493, allocations: 3.938 kB / 0.8837 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.01494, allocations: 0 / 0.8837 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01495, allocations: 0 / 0.8837 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01496, allocations: 0 / 0.8837 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01496, allocations: 4 kB / 0.8837 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01496, allocations: 0 / 0.8837 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.01519, allocations: 112.3 kB / 0.8838 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.01522, allocations: 7.906 kB / 0.8838 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.01525, allocations: 4 kB / 0.8838 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.157e-05/0.01528, allocations: 4 kB / 0.8838 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.01532, allocations: 3.984 kB / 0.8838 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.01533, allocations: 4 kB / 0.8838 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001904/0.01552, allocations: 166.2 kB / 0.884 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.01552, allocations: 0 / 0.884 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003867/0.01591, allocations: 20 kB / 0.884 GB, free: 14.45 MB / 0.8073 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.0001979/0.0161, allocations: 107.1 kB / 0.8841 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004424/0.01655, allocations: 184.8 kB / 0.8843 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.01655, allocations: 128 / 0.8843 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.246e-05/0.01663, allocations: 31.62 kB / 0.8843 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.01696, allocations: 25.73 kB / 0.8844 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.01749, allocations: 198 kB / 0.8845 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.0176, allocations: 80.33 kB / 0.8846 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.463e-05/0.01765, allocations: 13.19 kB / 0.8846 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.01768, allocations: 12.5 kB / 0.8846 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.01768, allocations: 0 / 0.8846 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.006533/0.02422, allocations: 1.53 MB / 0.8861 GB, free: 12.25 MB / 0.8073 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.56036170606967]