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.001492/0.001492, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001706/0.001706, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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.636/1.636, allocations: 177.1 MB / 203.9 MB, free: 5.578 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.751/2.751, allocations: 359 MB / 0.6048 GB, free: 10.97 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.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 3.306e-06/3.306e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.682e-05, allocations: 5.406 kB / 0.7864 GB, free: 12.83 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.002089/0.002126, allocations: 0.7465 MB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.004, allocations: 1.172 MB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.004079, allocations: 11.88 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.004231, allocations: 19.86 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.848e-05/0.00427, allocations: 13.08 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.004751, allocations: 132.2 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.004978, allocations: 123.7 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.005089, allocations: 25.38 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.005203, allocations: 59.89 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.005308, allocations: 39.88 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.005335, allocations: 8 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.005413, allocations: 20.83 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.005435, allocations: 4 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.966e-05/0.005504, allocations: 32.47 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.005763, allocations: 131.6 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.005767, allocations: 0.6875 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.41e-07/0.005767, allocations: 0.9062 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.005772, allocations: 0 / 0.7888 GB, free: 10.31 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.0005853/0.006357, allocations: 335.7 kB / 0.7891 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.006398, allocations: 8.688 kB / 0.7892 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.006469, allocations: 18.47 kB / 0.7892 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.006746, allocations: 145.7 kB / 0.7893 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.006764, allocations: 4.375 kB / 0.7893 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.006787, allocations: 4.969 kB / 0.7893 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.006941, allocations: 84.17 kB / 0.7894 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.006951, allocations: 4.125 kB / 0.7894 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.006965, allocations: 4.375 kB / 0.7894 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.00697, allocations: 384 / 0.7894 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/0.00702, allocations: 23.92 kB / 0.7894 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.007547, allocations: 416.8 kB / 0.7898 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.924e-05/0.007606, allocations: 26.45 kB / 0.7899 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.007623, allocations: 4.859 kB / 0.7899 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.007641, allocations: 4.062 kB / 0.7899 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.007761, allocations: 56.11 kB / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.007763, allocations: 1.656 kB / 0.7899 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000497/0.00826, allocations: 73.58 kB / 0.79 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.008314, allocations: 51.41 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.008472, allocations: 136.9 kB / 0.7902 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.008506, allocations: 29.7 kB / 0.7902 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.008621, allocations: 101.3 kB / 0.7903 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.008633, allocations: 4 kB / 0.7903 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.008707, allocations: 29.7 kB / 0.7903 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.008894, allocations: 323.5 kB / 0.7906 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.009, allocations: 57.69 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.009117, allocations: 80.97 kB / 0.7908 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.009249, allocations: 85.64 kB / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.009255, allocations: 3.938 kB / 0.7908 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003407/0.009596, allocations: 189.7 kB / 0.791 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.009645, allocations: 39.03 kB / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.009651, allocations: 0 / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.009671, allocations: 0 / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.606e-05/0.009687, allocations: 0 / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.009696, allocations: 4.562 kB / 0.7911 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.009914, allocations: 29.69 kB / 0.7911 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.009941, allocations: 7.984 kB / 0.7911 GB, free: 7.734 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 0.0001163/0.01006, allocations: 118.6 kB / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.01007, allocations: 7.953 kB / 0.7912 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.0101, allocations: 9.625 kB / 0.7912 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.0101, allocations: 0 / 0.7912 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.0101, allocations: 3.938 kB / 0.7912 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.01011, allocations: 0 / 0.7912 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.01025, allocations: 130.5 kB / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.01025, allocations: 3.938 kB / 0.7914 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-06/0.01026, allocations: 0 / 0.7914 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01026, allocations: 0 / 0.7914 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.01027, allocations: 4.531 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01027, allocations: 0.5312 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01027, allocations: 0.875 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.01041, allocations: 85.06 kB / 0.7915 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.01043, allocations: 11.89 kB / 0.7915 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.01045, allocations: 0.8125 kB / 0.7915 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.01047, allocations: 4.062 kB / 0.7915 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.0105, allocations: 12.52 kB / 0.7915 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.01051, allocations: 1.375 kB / 0.7915 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.194e-05/0.01059, allocations: 95.27 kB / 0.7916 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01059, allocations: 3.938 kB / 0.7916 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002247/0.01081, allocations: 16 kB / 0.7916 GB, free: 7.18 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.0001779/0.01099, allocations: 104.1 kB / 0.7917 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.01125, allocations: 138 kB / 0.7918 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01126, allocations: 1.219 kB / 0.7918 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.211e-05/0.01129, allocations: 11.94 kB / 0.7918 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.01155, allocations: 20.88 kB / 0.7919 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.01195, allocations: 160.7 kB / 0.792 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.545e-05/0.01203, allocations: 77.61 kB / 0.7921 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.875e-05/0.01205, allocations: 0 / 0.7921 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.01208, allocations: 12.5 kB / 0.7921 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/0.01208, allocations: 0 / 0.7921 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of Templates: time 0.004523/0.0166, allocations: 1.201 MB / 0.7933 GB, free: 5.457 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=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/jenkins/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: 7.849646657938138]