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.000883/0.000883, allocations: 80.53 kB / 19.93 MB, free: 4.609 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.0008144/0.0008144, allocations: 181.2 kB / 23.22 MB, free: 1.32 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.8746/0.8746, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.572/1.572, allocations: 359 MB / 0.6044 GB, free: 11.09 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 1.724e-06/1.724e-06, allocations: 0 / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.859e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.996 MB / 0.9011 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.001276/0.001295, allocations: 0.7385 MB / 0.9524 GB, free: 2.25 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.002373, allocations: 1.171 MB / 0.9536 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.00243, allocations: 7.938 kB / 0.9536 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.002549, allocations: 15.86 kB / 0.9536 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.575e-05/0.002575, allocations: 11.88 kB / 0.9536 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.00294, allocations: 138.8 kB / 0.9537 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.003094, allocations: 123.7 kB / 0.9539 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.003191, allocations: 23.97 kB / 0.9539 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.983e-05/0.003261, allocations: 59.89 kB / 0.9539 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.003338, allocations: 39.88 kB / 0.954 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.003358, allocations: 12 kB / 0.954 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.931e-05/0.003407, allocations: 12 kB / 0.954 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.003429, allocations: 15.92 kB / 0.954 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.003473, allocations: 31.97 kB / 0.954 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.003628, allocations: 127.6 kB / 0.9542 GB, free: 472 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.00363, allocations: 0 / 0.9542 GB, free: 472 kB / 0.9011 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003631, allocations: 0 / 0.9542 GB, free: 472 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003634, allocations: 3.938 kB / 0.9542 GB, free: 468 kB / 0.9011 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.0003603/0.003995, allocations: 338 kB / 0.9545 GB, free: 92 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.004034, allocations: 12.03 kB / 0.9545 GB, free: 80 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.004075, allocations: 12.89 kB / 0.9545 GB, free: 68 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.004249, allocations: 153.5 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.004261, allocations: 4.375 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.004276, allocations: 8.375 kB / 0.9547 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.469e-05/0.004371, allocations: 72.75 kB / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.00438, allocations: 192 / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.00439, allocations: 8.375 kB / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004395, allocations: 384 / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.032e-05/0.004425, allocations: 23.92 kB / 0.9548 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.004775, allocations: 416.8 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.547e-05/0.004831, allocations: 26.45 kB / 0.9552 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.004848, allocations: 8.922 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.004858, allocations: 3.984 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.004964, allocations: 59.39 kB / 0.9553 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.004965, allocations: 0 / 0.9553 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0002077/0.005173, allocations: 65.64 kB / 0.9553 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.005214, allocations: 55.34 kB / 0.9554 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.005305, allocations: 133.5 kB / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.005322, allocations: 33.7 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.005373, allocations: 100.1 kB / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.005385, allocations: 11.94 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.005429, allocations: 29.7 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.00551, allocations: 322.8 kB / 0.956 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.005574, allocations: 53.69 kB / 0.956 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.109e-05/0.005635, allocations: 84.25 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.005707, allocations: 80.2 kB / 0.9562 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.005713, allocations: 3.938 kB / 0.9562 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001762/0.005889, allocations: 185 kB / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.005921, allocations: 37.69 kB / 0.9564 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.005927, allocations: 0 / 0.9564 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.005944, allocations: 0 / 0.9564 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.63e-05/0.00596, allocations: 0 / 0.9564 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.005966, allocations: 7.938 kB / 0.9564 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.006097, allocations: 27.91 kB / 0.9564 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.006115, allocations: 4 kB / 0.9564 GB, free: 13.87 MB / 0.9167 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.388e-05/0.006199, allocations: 125.9 kB / 0.9566 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.006206, allocations: 7.953 kB / 0.9566 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.006233, allocations: 12.34 kB / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.006235, allocations: 0 / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.006239, allocations: 0 / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.006242, allocations: 0 / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.825e-05/0.00631, allocations: 121.3 kB / 0.9567 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.006312, allocations: 3.938 kB / 0.9567 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-06/0.006315, allocations: 7.875 kB / 0.9567 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.006316, allocations: 0 / 0.9567 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.006321, allocations: 4 kB / 0.9567 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.006323, allocations: 4 kB / 0.9567 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.006323, allocations: 0 / 0.9567 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.28e-05/0.006396, allocations: 81.08 kB / 0.9568 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.006407, allocations: 11.88 kB / 0.9568 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.006418, allocations: 4 kB / 0.9568 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.031e-05/0.006429, allocations: 4.344 kB / 0.9568 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.00646, allocations: 0 / 0.9568 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.006464, allocations: 0 / 0.9568 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.00651, allocations: 107.2 kB / 0.9569 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00651, allocations: 0 / 0.9569 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001374/0.006648, allocations: 20 kB / 0.9569 GB, free: 13.3 MB / 0.9167 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.0001247/0.006772, allocations: 109.5 kB / 0.957 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.00696, allocations: 141 kB / 0.9572 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.006962, allocations: 0 / 0.9572 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.167e-05/0.006983, allocations: 8 kB / 0.9572 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.007147, allocations: 12.5 kB / 0.9572 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.0074, allocations: 183.1 kB / 0.9574 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.204e-05/0.007442, allocations: 75.52 kB / 0.9574 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.007457, allocations: 12.5 kB / 0.9575 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.007457, allocations: 0 / 0.9575 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of Templates: time 0.002248/0.009705, allocations: 1.115 MB / 0.9585 GB, free: 11.59 MB / 0.9167 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: 6.248787841759622]