Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002036/0.002036, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002562/0.002562, allocations: 161.7 kB / 23.55 MB, free: 0.8828 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.502/1.502, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.816/2.816, allocations: 359 MB / 0.6048 GB, free: 10.93 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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.501e-05/3.676e-05, allocations: 6.609 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.002664/0.002701, allocations: 0.8956 MB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.004807, allocations: 1.203 MB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.004916, allocations: 4 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.005078, allocations: 23.78 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.005163, allocations: 28.64 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.00573, allocations: 139.6 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.006039, allocations: 172.4 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.006171, allocations: 25.58 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.006353, allocations: 88.36 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.006487, allocations: 36.7 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.006535, allocations: 16 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.734e-05/0.006623, allocations: 32.47 kB / 0.789 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.006654, allocations: 11.94 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.356e-05/0.006738, allocations: 40.88 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.007078, allocations: 191.4 kB / 0.7892 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.007081, allocations: 0.875 kB / 0.7892 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.02e-07/0.007082, allocations: 3.938 kB / 0.7892 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.007089, allocations: 3.031 kB / 0.7892 GB, free: 9.922 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.000707/0.007796, allocations: 359.6 kB / 0.7895 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.00784, allocations: 8.031 kB / 0.7895 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.378e-05/0.007923, allocations: 12.89 kB / 0.7896 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.008241, allocations: 169.5 kB / 0.7897 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.008264, allocations: 8.359 kB / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.008292, allocations: 9.562 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.008491, allocations: 84.75 kB / 0.7898 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.008499, allocations: 4.188 kB / 0.7898 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.008514, allocations: 4.359 kB / 0.7898 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.008521, allocations: 0.9688 kB / 0.7898 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.761e-05/0.008599, allocations: 25.06 kB / 0.7898 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/0.009251, allocations: 464.7 kB / 0.7903 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.009338, allocations: 31.05 kB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.009381, allocations: 14.66 kB / 0.7903 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.009392, allocations: 4 kB / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003867/0.009779, allocations: 63.39 kB / 0.7904 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.009781, allocations: 3.938 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002782/0.01006, allocations: 83.11 kB / 0.7905 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.01011, allocations: 51.41 kB / 0.7905 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.01031, allocations: 153 kB / 0.7907 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.01034, allocations: 29.7 kB / 0.7907 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.01045, allocations: 108 kB / 0.7908 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.01048, allocations: 13.36 kB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-05/0.01056, allocations: 29.7 kB / 0.7908 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.01077, allocations: 326.8 kB / 0.7912 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.0109, allocations: 71.95 kB / 0.7912 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.01104, allocations: 84.27 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.0112, allocations: 92.2 kB / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.0112, allocations: 0 / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004086/0.01161, allocations: 209.5 kB / 0.7916 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.01166, allocations: 38.42 kB / 0.7916 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.01167, allocations: 4 kB / 0.7916 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.01169, allocations: 0.5 kB / 0.7916 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.004e-05/0.01175, allocations: 5.594 kB / 0.7916 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.01175, allocations: 0 / 0.7916 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.01196, allocations: 27.91 kB / 0.7917 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.01199, allocations: 8.609 kB / 0.7917 GB, free: 7.133 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: 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 0.000133/0.01212, allocations: 126.5 kB / 0.7918 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.01215, allocations: 15.91 kB / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.01219, allocations: 12.95 kB / 0.7918 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.0122, allocations: 0.5625 kB / 0.7918 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.01221, allocations: 4 kB / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01221, allocations: 0.7188 kB / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.01236, allocations: 129.2 kB / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.01237, allocations: 5.375 kB / 0.792 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.684e-05/0.01238, allocations: 0 / 0.792 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01239, allocations: 0 / 0.792 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.01239, allocations: 0 / 0.792 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.0124, allocations: 5.156 kB / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.0124, allocations: 0 / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.01257, allocations: 101.2 kB / 0.7921 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.01259, allocations: 8.641 kB / 0.7921 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.01261, allocations: 3.938 kB / 0.7921 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.01263, allocations: 0.6562 kB / 0.7921 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.01267, allocations: 12.77 kB / 0.7921 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.01268, allocations: 4 kB / 0.7921 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001183/0.0128, allocations: 113.3 kB / 0.7922 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0128, allocations: 1.906 kB / 0.7922 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002437/0.01304, allocations: 24 kB / 0.7922 GB, free: 6.523 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: 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.0001868/0.01323, allocations: 109.2 kB / 0.7923 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.01353, allocations: 153.8 kB / 0.7925 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01353, allocations: 2.375 kB / 0.7925 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.01357, allocations: 15.94 kB / 0.7925 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.01384, allocations: 19.92 kB / 0.7925 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/0.01432, allocations: 188.2 kB / 0.7927 GB, free: 6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.838e-05/0.01442, allocations: 86.22 kB / 0.7928 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.01445, allocations: 12.72 kB / 0.7928 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.01448, allocations: 9 kB / 0.7928 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.01448, allocations: 4.5 kB / 0.7928 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of Templates: time 0.005229/0.01971, allocations: 1.524 MB / 0.7943 GB, free: 4.402 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.798468807013705]