Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001764/0.001764, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.002102/0.002102, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.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.537/2.537, allocations: 476.7 MB / 0.7611 GB, free: 15.76 MB / 0.6075 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.PlaceholderReal,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 1.104 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9042/0.9062, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderReal.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002098/0.9083, allocations: 0.9411 MB / 1.27 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.9096, allocations: 1.171 MB / 1.271 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.9097, allocations: 6.906 kB / 1.271 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.9098, allocations: 23.81 kB / 1.271 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.9099, allocations: 28.16 kB / 1.271 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.9103, allocations: 138.1 kB / 1.271 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.9105, allocations: 169 kB / 1.271 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.9107, allocations: 38.38 kB / 1.271 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.9107, allocations: 56.98 kB / 1.271 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.9109, allocations: 58.09 kB / 1.271 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.9109, allocations: 14.88 kB / 1.271 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.319e-05/0.911, allocations: 28.38 kB / 1.271 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.911, allocations: 17.11 kB / 1.271 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.312e-05/0.9111, allocations: 64.91 kB / 1.271 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.9113, allocations: 168 kB / 1.272 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.9113, allocations: 0.6875 kB / 1.272 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.92e-07/0.9113, allocations: 0 / 1.272 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.9113, allocations: 0 / 1.272 GB, free: 5.879 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000467/0.9118, allocations: 433.7 kB / 1.272 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.9119, allocations: 9.5 kB / 1.272 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.603e-05/0.9119, allocations: 37.77 kB / 1.272 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.9119, allocations: 16.83 kB / 1.272 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.9122, allocations: 226.2 kB / 1.272 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.9122, allocations: 8.625 kB / 1.272 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.9122, allocations: 10.69 kB / 1.272 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.9124, allocations: 78.66 kB / 1.272 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.9124, allocations: 9.297 kB / 1.272 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.9124, allocations: 4.812 kB / 1.272 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.9124, allocations: 0.9688 kB / 1.272 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.848e-05/0.9125, allocations: 28.67 kB / 1.272 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.9129, allocations: 0.5366 MB / 1.273 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.771e-05/0.913, allocations: 31.02 kB / 1.273 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.913, allocations: 13.22 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.913, allocations: 0.5156 kB / 1.273 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.9131, allocations: 65.72 kB / 1.273 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.9131, allocations: 0 / 1.273 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002177/0.9134, allocations: 81.22 kB / 1.273 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.9134, allocations: 52.83 kB / 1.273 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.9136, allocations: 179.1 kB / 1.273 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.9136, allocations: 27.77 kB / 1.273 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.9136, allocations: 106.2 kB / 1.273 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.9136, allocations: 10 kB / 1.273 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.9137, allocations: 34.02 kB / 1.273 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.9138, allocations: 320.8 kB / 1.274 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.664e-05/0.9138, allocations: 34.97 kB / 1.274 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.445e-05/0.9139, allocations: 64.39 kB / 1.274 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.914, allocations: 91.73 kB / 1.274 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.914, allocations: 0 / 1.274 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002568/0.9143, allocations: 165.6 kB / 1.274 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.9143, allocations: 40.31 kB / 1.274 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.9143, allocations: 1.094 kB / 1.274 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.9143, allocations: 9.062 kB / 1.274 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.631e-05/0.9144, allocations: 10.66 kB / 1.274 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.9144, allocations: 6.109 kB / 1.274 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.9146, allocations: 34 kB / 1.274 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.9146, allocations: 8.875 kB / 1.274 GB, free: 3.445 MB / 0.9981 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 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 6.44e-05/0.9147, allocations: 117 kB / 1.274 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.9147, allocations: 12.55 kB / 1.274 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.9147, allocations: 11.88 kB / 1.274 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.9147, allocations: 4.906 kB / 1.274 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.9147, allocations: 5.031 kB / 1.274 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9147, allocations: 0 / 1.274 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.724e-05/0.9148, allocations: 186.6 kB / 1.275 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9148, allocations: 1 kB / 1.275 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.515e-05/0.9148, allocations: 6.062 kB / 1.275 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.9148, allocations: 3.938 kB / 1.275 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.9148, allocations: 0.7812 kB / 1.275 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9148, allocations: 0.9375 kB / 1.275 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.9148, allocations: 3.938 kB / 1.275 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.9149, allocations: 100 kB / 1.275 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.915, allocations: 88.7 kB / 1.275 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.915, allocations: 0.9062 kB / 1.275 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.915, allocations: 1.547 kB / 1.275 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.915, allocations: 6.594 kB / 1.275 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.915, allocations: 6.125 kB / 1.275 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.52e-05/0.9151, allocations: 131.3 kB / 1.275 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9151, allocations: 0 / 1.275 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002161/0.9153, allocations: 24.16 kB / 1.275 GB, free: 2.797 MB / 0.9981 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.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.000272/0.9156, allocations: 0.6348 MB / 1.276 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.9158, allocations: 118.4 kB / 1.276 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9158, allocations: 0.9688 kB / 1.276 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.429e-05/0.9158, allocations: 20.75 kB / 1.276 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.9161, allocations: 28.91 kB / 1.276 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.9178, allocations: 1.698 MB / 1.277 GB, free: 16.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.9181, allocations: 0.7059 MB / 1.278 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.333e-05/0.9182, allocations: 7.016 kB / 1.278 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.9182, allocations: 30.81 kB / 1.278 GB, free: 15.95 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/0.9182, allocations: 0 / 1.278 GB, free: 15.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.9461, allocations: 2.89 MB / 1.281 GB, free: 15.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/9.387, allocations: 13.08 kB / 1.281 GB, free: 15.48 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.134176786988974]