Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.001551/0.001551, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.00172/0.00172, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.766/2.766, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.64 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3245, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002157/0.3267, allocations: 0.7632 MB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3283, allocations: 1.184 MB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.3283, allocations: 0 / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.3285, allocations: 27.73 kB / 1.287 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.173e-05/0.3285, allocations: 7.875 kB / 1.287 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.329, allocations: 142.7 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.3292, allocations: 119.8 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3293, allocations: 27.86 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.3293, allocations: 55.77 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3295, allocations: 43.83 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.3295, allocations: 8 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.698e-05/0.3296, allocations: 16 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.3296, allocations: 11.98 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.689e-05/0.3296, allocations: 47.78 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.3298, allocations: 107.6 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3298, allocations: 0 / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3298, allocations: 3.938 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3298, allocations: 4 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005202/0.3304, allocations: 341.3 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3304, allocations: 8.031 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.3304, allocations: 12.83 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.3307, allocations: 142.5 kB / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3307, allocations: 4.375 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.3307, allocations: 8.375 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.3309, allocations: 76.8 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3309, allocations: 192 / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3309, allocations: 7.938 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3309, allocations: 0 / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.757e-05/0.3309, allocations: 23.92 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.3314, allocations: 468 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.3315, allocations: 22.58 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.3315, allocations: 8.922 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-06/0.3315, allocations: 0 / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.637e-05/0.3316, allocations: 59.33 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.3316, allocations: 0 / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001874/0.3318, allocations: 69.64 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.3318, allocations: 59.39 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.332, allocations: 149.7 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.332, allocations: 25.7 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.3321, allocations: 104.1 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.3321, allocations: 4 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.3322, allocations: 29.7 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3323, allocations: 322.8 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.009e-05/0.3324, allocations: 35.92 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.3325, allocations: 46.56 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.3326, allocations: 76.27 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3326, allocations: 0 / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002632/0.3329, allocations: 159.1 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.3329, allocations: 41.78 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3329, allocations: 0 / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3329, allocations: 3.938 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.708e-05/0.3329, allocations: 7.938 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3329, allocations: 4 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.3332, allocations: 31.97 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3332, allocations: 4 kB / 1.289 GB, free: 6.086 MB / 0.9825 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 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.0001057/0.3333, allocations: 125.8 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.3333, allocations: 7.953 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.3333, allocations: 4.344 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3333, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3333, allocations: 7.938 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.3333, allocations: 0 / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.3335, allocations: 148.7 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3335, allocations: 4 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-06/0.3335, allocations: 0 / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3335, allocations: 0 / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.3335, allocations: 0 / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3335, allocations: 4 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3335, allocations: 3.938 kB / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.3336, allocations: 93.22 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.3336, allocations: 11.95 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.3336, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.3337, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.3337, allocations: 7.938 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3337, allocations: 0 / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.86e-05/0.3338, allocations: 122.4 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3338, allocations: 0 / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002084/0.334, allocations: 19.94 kB / 1.29 GB, free: 5.465 MB / 0.9825 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.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001346/0.3341, allocations: 102 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3343, allocations: 111.3 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3343, allocations: 0 / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.879e-05/0.3344, allocations: 8 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.3346, allocations: 20.16 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.3349, allocations: 180.4 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3352, allocations: 0.6885 MB / 1.291 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.3353, allocations: 19.42 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3353, allocations: 7.875 kB / 1.291 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of Templates: time 0.003063/0.3383, allocations: 1.146 MB / 1.292 GB, free: 3.121 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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: 10.84763246201328]