Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00205/0.00205, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.00228/0.00228, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.506/1.506, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.76/2.76, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.279e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.00262/0.002652, allocations: 0.8347 MB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.004652, allocations: 1.195 MB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.004766, allocations: 7.938 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.004941, allocations: 28.28 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.986e-05/0.005021, allocations: 21.02 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.005579, allocations: 139.6 kB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000301/0.00588, allocations: 172.1 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.00602, allocations: 29.56 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.006208, allocations: 80.81 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.006341, allocations: 39.88 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.006381, allocations: 17.19 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.006469, allocations: 27.98 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.006501, allocations: 15.88 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.006589, allocations: 44.55 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.006908, allocations: 191.4 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.006912, allocations: 0.5938 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006913, allocations: 0 / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.006919, allocations: 1.344 kB / 0.7891 GB, free: 9.965 MB / 0.7448 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.0006827/0.007602, allocations: 355.6 kB / 0.7895 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.007642, allocations: 8.031 kB / 0.7895 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.007728, allocations: 18.42 kB / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.008057, allocations: 169.5 kB / 0.7897 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.008087, allocations: 13.83 kB / 0.7897 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.008112, allocations: 8.375 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.008288, allocations: 80.81 kB / 0.7898 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.008297, allocations: 192 / 0.7898 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.008311, allocations: 7.625 kB / 0.7898 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.008315, allocations: 4.312 kB / 0.7898 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.136e-05/0.008397, allocations: 31.88 kB / 0.7898 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.009044, allocations: 456.7 kB / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.692e-05/0.009121, allocations: 26.58 kB / 0.7903 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.009158, allocations: 16.91 kB / 0.7903 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.009169, allocations: 0 / 0.7903 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.009303, allocations: 64.3 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.009304, allocations: 0 / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002605/0.009564, allocations: 81.64 kB / 0.7904 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.009615, allocations: 51.94 kB / 0.7905 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.009805, allocations: 159.7 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.009839, allocations: 33.7 kB / 0.7907 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.009957, allocations: 109.6 kB / 0.7908 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.009972, allocations: 7.938 kB / 0.7908 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.824e-05/0.01006, allocations: 37.69 kB / 0.7908 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.01024, allocations: 318.8 kB / 0.7911 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.01038, allocations: 78.23 kB / 0.7912 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.01051, allocations: 88.25 kB / 0.7913 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.01066, allocations: 93.31 kB / 0.7914 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01066, allocations: 0.75 kB / 0.7914 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003929/0.01106, allocations: 209.5 kB / 0.7916 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002906/0.01135, allocations: 35.05 kB / 0.7916 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.01135, allocations: 7.938 kB / 0.7916 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.01137, allocations: 0 / 0.7916 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.01143, allocations: 3.984 kB / 0.7916 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.01144, allocations: 5.531 kB / 0.7916 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.01164, allocations: 27.92 kB / 0.7916 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.01166, allocations: 6.125 kB / 0.7916 GB, free: 7.168 MB / 0.7448 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.0001278/0.01179, allocations: 125.8 kB / 0.7918 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.01183, allocations: 11.94 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.01187, allocations: 12.58 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01187, allocations: 0 / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.01187, allocations: 0.5 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01188, allocations: 6.578 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.01203, allocations: 129.2 kB / 0.7919 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01203, allocations: 0 / 0.7919 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.01205, allocations: 4 kB / 0.7919 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.01206, allocations: 3.984 kB / 0.7919 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.01207, allocations: 4 kB / 0.7919 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01207, allocations: 0 / 0.7919 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01207, allocations: 5.625 kB / 0.7919 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.01223, allocations: 93.02 kB / 0.792 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.01225, allocations: 11.95 kB / 0.792 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.01227, allocations: 3.984 kB / 0.792 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.253e-05/0.01229, allocations: 0 / 0.792 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.01232, allocations: 0.5 kB / 0.792 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01233, allocations: 8.562 kB / 0.792 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001113/0.01244, allocations: 115.2 kB / 0.7921 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01244, allocations: 1.531 kB / 0.7921 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002395/0.01268, allocations: 27.89 kB / 0.7922 GB, free: 6.559 MB / 0.7448 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.0001967/0.01288, allocations: 103.8 kB / 0.7923 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.01317, allocations: 155.1 kB / 0.7924 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01317, allocations: 0 / 0.7924 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.043e-05/0.01321, allocations: 15.98 kB / 0.7924 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.01347, allocations: 21.06 kB / 0.7925 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.01393, allocations: 200.1 kB / 0.7926 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.171e-05/0.01402, allocations: 82.05 kB / 0.7927 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.01405, allocations: 8.719 kB / 0.7927 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.01408, allocations: 13.41 kB / 0.7927 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.01408, allocations: 0 / 0.7927 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.005204/0.01928, allocations: 1.529 MB / 0.7942 GB, free: 4.441 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.799037362914532]