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.0009975/0.0009975, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001723/0.001723, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.9654/0.9654, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 1.735/1.735, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.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: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.937e-05, allocations: 7.188 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.002206/0.002235, allocations: 0.7469 MB / 0.789 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.003882, allocations: 1.203 MB / 0.7902 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.3e-05/0.003965, allocations: 3.938 kB / 0.7902 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.004116, allocations: 23.8 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.878e-05/0.004155, allocations: 8.703 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.004633, allocations: 136.4 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.004829, allocations: 131.7 kB / 0.7905 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.00493, allocations: 18.36 kB / 0.7905 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.543e-05/0.005025, allocations: 55.95 kB / 0.7906 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.598e-05/0.005121, allocations: 39.88 kB / 0.7906 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.005145, allocations: 8 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.718e-05/0.005212, allocations: 19.98 kB / 0.7906 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.005235, allocations: 7.938 kB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.005287, allocations: 35.89 kB / 0.7907 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.005456, allocations: 97.55 kB / 0.7908 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.005459, allocations: 0 / 0.7908 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.00546, allocations: 0 / 0.7908 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.005464, allocations: 0 / 0.7908 GB, free: 9.711 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004334/0.005898, allocations: 438 kB / 0.7912 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.005933, allocations: 8.594 kB / 0.7912 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.005977, allocations: 13.42 kB / 0.7912 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.006163, allocations: 149.8 kB / 0.7913 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.006178, allocations: 8.359 kB / 0.7914 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.006199, allocations: 13.53 kB / 0.7914 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.103e-05/0.00629, allocations: 73.25 kB / 0.7914 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.006298, allocations: 192 / 0.7914 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.006305, allocations: 1.75 kB / 0.7914 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.006311, allocations: 384 / 0.7914 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.006331, allocations: 15.92 kB / 0.7915 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.00671, allocations: 0.5311 MB / 0.792 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.552e-05/0.006755, allocations: 27.05 kB / 0.792 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.314e-05/0.006768, allocations: 15.69 kB / 0.792 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-06/0.006773, allocations: 3.938 kB / 0.792 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.628e-05/0.006869, allocations: 65.05 kB / 0.7921 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.006871, allocations: 1.094 kB / 0.7921 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001618/0.007033, allocations: 57.62 kB / 0.7921 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.007075, allocations: 59.88 kB / 0.7922 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.007182, allocations: 196.2 kB / 0.7924 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.0072, allocations: 27.64 kB / 0.7924 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.758e-05/0.007268, allocations: 154.8 kB / 0.7926 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.295e-06/0.007276, allocations: 3.984 kB / 0.7926 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.007334, allocations: 35.3 kB / 0.7926 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.00747, allocations: 0.4923 MB / 0.7931 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.007531, allocations: 52.28 kB / 0.7931 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.007597, allocations: 80.72 kB / 0.7932 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.065e-05/0.007677, allocations: 84.69 kB / 0.7933 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.00768, allocations: 0 / 0.7933 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002041/0.007884, allocations: 169.6 kB / 0.7934 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.007922, allocations: 37.69 kB / 0.7935 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.007928, allocations: 4.531 kB / 0.7935 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.007937, allocations: 1.656 kB / 0.7935 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.569e-05/0.007952, allocations: 4.062 kB / 0.7935 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.007957, allocations: 4 kB / 0.7935 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.008092, allocations: 19.94 kB / 0.7935 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.008109, allocations: 8.828 kB / 0.7935 GB, free: 6.617 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 (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 8.538e-05/0.008194, allocations: 157.4 kB / 0.7937 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.00821, allocations: 11.94 kB / 0.7937 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.008237, allocations: 9.625 kB / 0.7937 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.008239, allocations: 0 / 0.7937 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.008241, allocations: 0 / 0.7937 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.008244, allocations: 0 / 0.7937 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.946e-05/0.008333, allocations: 110.1 kB / 0.7938 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.008335, allocations: 3.938 kB / 0.7938 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.031e-05/0.008345, allocations: 5.172 kB / 0.7938 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.008349, allocations: 4 kB / 0.7938 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.008356, allocations: 7.938 kB / 0.7938 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.008357, allocations: 1.344 kB / 0.7938 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008358, allocations: 0 / 0.7938 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.439e-05/0.008452, allocations: 84.39 kB / 0.7939 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.008462, allocations: 3.953 kB / 0.7939 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.008479, allocations: 17.45 kB / 0.7939 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/0.008493, allocations: 0 / 0.7939 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.008512, allocations: 0 / 0.7939 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.008516, allocations: 0 / 0.7939 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.191e-05/0.008567, allocations: 142 kB / 0.7941 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008568, allocations: 0 / 0.7941 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002054/0.008773, allocations: 19.94 kB / 0.7941 GB, free: 5.996 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.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.0001382/0.008911, allocations: 115.1 kB / 0.7942 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.009072, allocations: 128.8 kB / 0.7943 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.009074, allocations: 0.5 kB / 0.7943 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.549e-05/0.0091, allocations: 27.59 kB / 0.7943 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.009294, allocations: 9.219 kB / 0.7943 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.009567, allocations: 166.8 kB / 0.7945 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.613e-05/0.009603, allocations: 59.34 kB / 0.7946 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.147e-05/0.009625, allocations: 4 kB / 0.7946 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.009712, allocations: 94.17 kB / 0.7946 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of SimCode: time 7.62e-07/0.009713, allocations: 1.344 kB / 0.7946 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.003692/0.01341, allocations: 1.328 MB / 0.7959 GB, free: 4.039 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.801529204938561]