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.00141/0.00141, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001521/0.001521, allocations: 161 kB / 23.81 MB, free: 0.7578 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.9711/0.9711, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.725/1.725, allocations: 359 MB / 0.6052 GB, free: 11 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.104e-06/2.104e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.595e-05/2.805e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.49 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.001892/0.00192, allocations: 0.7664 MB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.003549, allocations: 1.194 MB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.003625, allocations: 8.875 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.003781, allocations: 19.84 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.104e-05/0.003822, allocations: 16.91 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005217/0.004344, allocations: 128.2 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.004584, allocations: 131.7 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.004712, allocations: 20.55 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.00483, allocations: 64.66 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.004941, allocations: 23.91 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.004977, allocations: 13.59 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.131e-05/0.005059, allocations: 19.98 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.005093, allocations: 15.92 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.005157, allocations: 27.97 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.005369, allocations: 95.69 kB / 0.7896 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.005371, allocations: 3.406 kB / 0.7896 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005372, allocations: 0 / 0.7896 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.005376, allocations: 0 / 0.7896 GB, free: 9.961 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.0004915/0.005868, allocations: 434 kB / 0.79 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.005916, allocations: 12.03 kB / 0.79 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.005986, allocations: 16.83 kB / 0.79 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.006227, allocations: 152.5 kB / 0.7901 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.006243, allocations: 9.125 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.006267, allocations: 12.38 kB / 0.7902 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.0064, allocations: 65.91 kB / 0.7902 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.00641, allocations: 5.688 kB / 0.7902 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.006422, allocations: 4.359 kB / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.006431, allocations: 384 / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.414e-05/0.006466, allocations: 15.88 kB / 0.7903 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.006943, allocations: 0.553 MB / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.82e-05/0.007001, allocations: 31 kB / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.007021, allocations: 16.45 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-06/0.007026, allocations: 0 / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.172e-05/0.007117, allocations: 54.34 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.007119, allocations: 4 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001964/0.007315, allocations: 65.56 kB / 0.791 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.007354, allocations: 59.97 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.007488, allocations: 194.5 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.007513, allocations: 29.7 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.007592, allocations: 150.8 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.007602, allocations: 4 kB / 0.7914 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.007669, allocations: 40.89 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.007815, allocations: 0.4884 MB / 0.7919 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9e-05/0.007905, allocations: 53.69 kB / 0.7919 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-05/0.007996, allocations: 84.73 kB / 0.792 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.008098, allocations: 86.92 kB / 0.7921 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.008103, allocations: 7.938 kB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002642/0.008367, allocations: 181.6 kB / 0.7923 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.008401, allocations: 33.69 kB / 0.7923 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.008408, allocations: 5.969 kB / 0.7923 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.008422, allocations: 0 / 0.7923 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.641e-05/0.008438, allocations: 0 / 0.7923 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.008447, allocations: 7.938 kB / 0.7923 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.008612, allocations: 20.47 kB / 0.7923 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.008635, allocations: 7.984 kB / 0.7924 GB, free: 6.809 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 9.784e-05/0.008733, allocations: 165.2 kB / 0.7925 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.008749, allocations: 9.281 kB / 0.7925 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.008777, allocations: 12.34 kB / 0.7925 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.008779, allocations: 0 / 0.7925 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.008783, allocations: 0.625 kB / 0.7925 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008786, allocations: 0 / 0.7925 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.00889, allocations: 133.7 kB / 0.7927 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.008892, allocations: 3.938 kB / 0.7927 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-06/0.008898, allocations: 0 / 0.7927 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.0089, allocations: 0.5 kB / 0.7927 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.008908, allocations: 5.031 kB / 0.7927 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.008909, allocations: 0 / 0.7927 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008911, allocations: 0 / 0.7927 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.009026, allocations: 101.2 kB / 0.7928 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.00904, allocations: 7.891 kB / 0.7928 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.009052, allocations: 0 / 0.7928 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.471e-05/0.009067, allocations: 0.8438 kB / 0.7928 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.009095, allocations: 7.984 kB / 0.7928 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.0091, allocations: 2.219 kB / 0.7928 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.271e-05/0.009163, allocations: 139.2 kB / 0.7929 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009163, allocations: 0 / 0.7929 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002435/0.009406, allocations: 23.94 kB / 0.7929 GB, free: 6.145 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.0001165/0.009523, allocations: 99.25 kB / 0.793 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.009738, allocations: 147.4 kB / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.00974, allocations: 0 / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.786e-05/0.009768, allocations: 11.69 kB / 0.7932 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.009979, allocations: 19.92 kB / 0.7932 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.01029, allocations: 164.2 kB / 0.7934 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.614e-05/0.01033, allocations: 59.34 kB / 0.7934 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.01035, allocations: 4 kB / 0.7934 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.01037, allocations: 13 kB / 0.7934 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.01037, allocations: 0 / 0.7934 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of Templates: time 0.003893/0.01427, allocations: 1.302 MB / 0.7947 GB, free: 4.305 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.8512474480085075]