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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.604/2.604, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 67.89 kB / 1.104 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6361/0.6379, allocations: 168.7 MB / 1.269 GB, free: 5.227 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002298/0.6402, allocations: 0.7442 MB / 1.269 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.6418, allocations: 1.156 MB / 1.271 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.71e-05/0.6419, allocations: 0 / 1.271 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.642, allocations: 23.8 kB / 1.271 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.569e-05/0.6421, allocations: 15.86 kB / 1.271 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.6425, allocations: 135.6 kB / 1.271 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.6427, allocations: 127.7 kB / 1.271 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.6428, allocations: 23.72 kB / 1.271 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.6429, allocations: 47.91 kB / 1.271 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.107e-05/0.643, allocations: 39.83 kB / 1.271 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.643, allocations: 8 kB / 1.271 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.6431, allocations: 23.98 kB / 1.271 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.6431, allocations: 15.92 kB / 1.271 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.6432, allocations: 43.78 kB / 1.271 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.6433, allocations: 105.7 kB / 1.271 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6433, allocations: 0 / 1.271 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6433, allocations: 0 / 1.271 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.6433, allocations: 0 / 1.271 GB, free: 2.723 MB / 0.9669 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.0005068/0.6438, allocations: 416.8 kB / 1.272 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.6439, allocations: 12.03 kB / 1.272 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.6439, allocations: 34.69 kB / 1.272 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.644, allocations: 16.84 kB / 1.272 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.6443, allocations: 208.2 kB / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.6443, allocations: 4.375 kB / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.6443, allocations: 12.38 kB / 1.272 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.6444, allocations: 68.83 kB / 1.272 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.6444, allocations: 7.875 kB / 1.272 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.6444, allocations: 0 / 1.272 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.6444, allocations: 4 kB / 1.272 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.639e-05/0.6445, allocations: 15.98 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.645, allocations: 497 kB / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.154e-05/0.645, allocations: 14.58 kB / 1.272 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.6451, allocations: 12.92 kB / 1.272 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-06/0.6451, allocations: 3.984 kB / 1.272 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.6452, allocations: 63.3 kB / 1.273 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.6452, allocations: 0 / 1.273 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001839/0.6454, allocations: 73.7 kB / 1.273 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.6454, allocations: 59.34 kB / 1.273 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.6456, allocations: 145.7 kB / 1.273 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.6456, allocations: 29.7 kB / 1.273 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.6457, allocations: 100.1 kB / 1.273 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.668e-06/0.6457, allocations: 3.953 kB / 1.273 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.6457, allocations: 33.64 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6459, allocations: 322.8 kB / 1.273 GB, free: 364 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.6459, allocations: 27.98 kB / 1.273 GB, free: 336 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.6461, allocations: 54.59 kB / 1.273 GB, free: 272 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.6462, allocations: 84.33 kB / 1.273 GB, free: 172 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6462, allocations: 0 / 1.273 GB, free: 172 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002543/0.6464, allocations: 143.2 kB / 1.274 GB, free: 16 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.214e-05/0.6465, allocations: 52.06 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.6465, allocations: 0 / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.6465, allocations: 4 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.594e-05/0.6465, allocations: 0 / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.6465, allocations: 3.938 kB / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.6467, allocations: 31.86 kB / 1.274 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.6467, allocations: 7.984 kB / 1.274 GB, free: 15.91 MB / 0.9825 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.000111/0.6469, allocations: 118.4 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.6469, allocations: 11.95 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.6469, allocations: 8.25 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.6469, allocations: 4 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6469, allocations: 3.938 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6469, allocations: 0 / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.6471, allocations: 177.6 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6471, allocations: 0 / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-06/0.6471, allocations: 0 / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6471, allocations: 0 / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.6471, allocations: 0 / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6471, allocations: 4 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.6471, allocations: 3.938 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.6472, allocations: 89 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.6473, allocations: 85.06 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.6473, allocations: 3.938 kB / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.832e-05/0.6473, allocations: 4 kB / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.6473, allocations: 7.938 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.6473, allocations: 3.984 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.145e-05/0.6474, allocations: 113.5 kB / 1.274 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.6474, allocations: 0 / 1.274 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002026/0.6476, allocations: 16 kB / 1.274 GB, free: 15.17 MB / 0.9825 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.0004698/0.6481, allocations: 0.6279 MB / 1.275 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.6483, allocations: 111.3 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6483, allocations: 0 / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.015e-05/0.6483, allocations: 15.92 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.6485, allocations: 14.69 kB / 1.275 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.6501, allocations: 1.511 MB / 1.276 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.6505, allocations: 0.6963 MB / 1.277 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.6505, allocations: 4 kB / 1.277 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.6505, allocations: 27.42 kB / 1.277 GB, free: 12 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.6505, allocations: 0 / 1.277 GB, free: 12 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3366/0.9871, allocations: 2.417 MB / 1.28 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.502/9.489, allocations: 11.69 kB / 1.28 GB, free: 9.734 MB / 0.9825 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.111736440099776]