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.0009691/0.0009691, 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.00108/0.00108, allocations: 161.4 kB / 23.82 MB, free: 0.75 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.008/1.008, 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.881/1.881, 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.455e-06/2.455e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.925e-05, allocations: 2.938 kB / 0.7871 GB, free: 12.5 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.001482/0.001512, allocations: 0.7572 MB / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.002923, allocations: 1.191 MB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.003002, allocations: 7.938 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.003141, allocations: 20.92 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.283e-05/0.003174, allocations: 19.84 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.00361, allocations: 129 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.003764, allocations: 127.7 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.003864, allocations: 19.97 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.003939, allocations: 64.95 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.099e-05/0.00402, allocations: 27.94 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.004043, allocations: 8 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.004111, allocations: 25.55 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.004133, allocations: 7.938 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.004184, allocations: 35.91 kB / 0.7895 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.004344, allocations: 91.7 kB / 0.7896 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.004347, allocations: 4.641 kB / 0.7896 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004349, allocations: 0 / 0.7896 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.004354, allocations: 0.9688 kB / 0.7896 GB, free: 9.984 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.0004355/0.004789, allocations: 438 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.004829, allocations: 9.562 kB / 0.79 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.004886, allocations: 16.88 kB / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.005085, allocations: 150.3 kB / 0.7901 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.005099, allocations: 4.375 kB / 0.7901 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.005119, allocations: 8.359 kB / 0.7902 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.005229, allocations: 81.23 kB / 0.7902 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.005241, allocations: 192 / 0.7902 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.005253, allocations: 6.781 kB / 0.7902 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.00526, allocations: 384 / 0.7902 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.324e-05/0.005284, allocations: 19.86 kB / 0.7903 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.005654, allocations: 0.5445 MB / 0.7908 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.191e-05/0.005696, allocations: 34.94 kB / 0.7908 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.247e-05/0.005709, allocations: 7.75 kB / 0.7908 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-06/0.005713, allocations: 4.625 kB / 0.7908 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.589e-05/0.005799, allocations: 62.7 kB / 0.7909 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.005801, allocations: 0 / 0.7909 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001622/0.005963, allocations: 69.52 kB / 0.791 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.005997, allocations: 55.39 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.006098, allocations: 200.2 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.006116, allocations: 31.08 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.006174, allocations: 142.8 kB / 0.7914 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.347e-06/0.006183, allocations: 3.984 kB / 0.7914 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.006232, allocations: 45.11 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.006344, allocations: 492.1 kB / 0.7919 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.786e-05/0.006412, allocations: 57.67 kB / 0.7919 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.006474, allocations: 84.75 kB / 0.792 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.401e-05/0.006548, allocations: 85.41 kB / 0.7921 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.006551, allocations: 4.75 kB / 0.7921 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001794/0.006731, allocations: 178.9 kB / 0.7923 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.006762, allocations: 37.7 kB / 0.7923 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.006767, allocations: 0 / 0.7923 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.006782, allocations: 4 kB / 0.7923 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.577e-05/0.006798, allocations: 0 / 0.7923 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.006804, allocations: 3.984 kB / 0.7923 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.006929, allocations: 26.42 kB / 0.7923 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.006943, allocations: 4 kB / 0.7924 GB, free: 6.84 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 7.115e-05/0.007014, allocations: 168.5 kB / 0.7925 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.007024, allocations: 7.984 kB / 0.7925 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.007052, allocations: 9.047 kB / 0.7925 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.007054, allocations: 4 kB / 0.7925 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.007058, allocations: 0.5938 kB / 0.7925 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.007062, allocations: 5.656 kB / 0.7925 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.907e-05/0.007141, allocations: 132.6 kB / 0.7927 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.007144, allocations: 3.938 kB / 0.7927 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-06/0.007149, allocations: 4 kB / 0.7927 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.007151, allocations: 0.5625 kB / 0.7927 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.007156, allocations: 0 / 0.7927 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.007157, allocations: 1.312 kB / 0.7927 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007158, allocations: 0 / 0.7927 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.198e-05/0.00725, allocations: 96.33 kB / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.007262, allocations: 15.88 kB / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.007272, allocations: 1.156 kB / 0.7928 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-06/0.007281, allocations: 3.938 kB / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.007305, allocations: 4 kB / 0.7928 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.007309, allocations: 0.9062 kB / 0.7928 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.077e-05/0.00736, allocations: 142.3 kB / 0.7929 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00736, allocations: 0.8438 kB / 0.7929 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001456/0.007505, allocations: 23.92 kB / 0.793 GB, free: 6.164 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.0001214/0.007627, allocations: 104.5 kB / 0.7931 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.007796, allocations: 145.3 kB / 0.7932 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.007798, allocations: 0 / 0.7932 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.007817, allocations: 12.53 kB / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.007988, allocations: 25.44 kB / 0.7932 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.008277, allocations: 164.5 kB / 0.7934 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.251e-05/0.008309, allocations: 59.34 kB / 0.7934 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.008329, allocations: 8.922 kB / 0.7934 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.008348, allocations: 8.5 kB / 0.7935 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.008349, allocations: 3.406 kB / 0.7935 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of Templates: time 0.003075/0.01142, allocations: 1.187 MB / 0.7946 GB, free: 4.43 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: 5.253341835923493]