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.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.0008492/0.0008492, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001696/0.001696, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9109/0.9109, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.627/1.627, allocations: 359 MB / 0.6037 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: "" <> 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 2.084e-06/2.084e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.278e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.001688/0.001711, allocations: 0.892 MB / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.002899, allocations: 1.198 MB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.996e-05/0.002979, allocations: 7.938 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.003108, allocations: 31.78 kB / 0.9526 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.524e-05/0.003154, allocations: 19.8 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.003573, allocations: 143.8 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.00375, allocations: 167.5 kB / 0.9529 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.003861, allocations: 33.5 kB / 0.9529 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.379e-05/0.003945, allocations: 79.88 kB / 0.953 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.966e-05/0.004035, allocations: 39.88 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.004058, allocations: 16 kB / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.75e-05/0.004116, allocations: 31.98 kB / 0.9531 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.00414, allocations: 19.86 kB / 0.9531 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.004189, allocations: 43.91 kB / 0.9531 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.004383, allocations: 183.5 kB / 0.9533 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.004387, allocations: 4 kB / 0.9533 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.093e-06/0.004388, allocations: 0 / 0.9533 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.004393, allocations: 0 / 0.9533 GB, free: 0.6016 MB / 0.9011 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.0004588/0.004852, allocations: 363.5 kB / 0.9536 GB, free: 212 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.004897, allocations: 8.031 kB / 0.9537 GB, free: 204 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.004927, allocations: 42.73 kB / 0.9537 GB, free: 152 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.004979, allocations: 16.83 kB / 0.9537 GB, free: 136 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.005203, allocations: 161.7 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.005223, allocations: 4.375 kB / 0.9539 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.005239, allocations: 8.375 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.005377, allocations: 84.75 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.005383, allocations: 4.125 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.005392, allocations: 384 / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.005399, allocations: 8.125 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/0.005453, allocations: 23.98 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.005876, allocations: 492 kB / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.268e-05/0.005949, allocations: 38.5 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.005968, allocations: 8.922 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.005978, allocations: 0 / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.006084, allocations: 63.39 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.006084, allocations: 0 / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001773/0.006262, allocations: 85.58 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.006296, allocations: 55.34 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.006409, allocations: 167.3 kB / 0.9549 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.006427, allocations: 33.7 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.00648, allocations: 112 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.006493, allocations: 7.953 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.006545, allocations: 33.69 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.006627, allocations: 326.8 kB / 0.9554 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.006707, allocations: 69.67 kB / 0.9554 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.006776, allocations: 84.27 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.393e-05/0.00686, allocations: 96.27 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.006862, allocations: 0 / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000204/0.007066, allocations: 204.9 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.007096, allocations: 37.7 kB / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.007101, allocations: 0 / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.007113, allocations: 0 / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.007166, allocations: 7.984 kB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.007171, allocations: 0 / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.00729, allocations: 27.92 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.007305, allocations: 8 kB / 0.9559 GB, free: 13.7 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 ($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 7.853e-05/0.007384, allocations: 125.8 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.007394, allocations: 11.95 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.007419, allocations: 13.02 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-06/0.007422, allocations: 7.938 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.007425, allocations: 3.938 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.007428, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.14e-05/0.00752, allocations: 160.6 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007521, allocations: 0 / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.007535, allocations: 7.938 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.007537, allocations: 0 / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.007543, allocations: 0 / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007544, allocations: 4 kB / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.007544, allocations: 0 / 0.9562 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.58e-05/0.00764, allocations: 105 kB / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.007654, allocations: 3.953 kB / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.007665, allocations: 4 kB / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.671e-05/0.007682, allocations: 0 / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.007705, allocations: 0 / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.007713, allocations: 11.98 kB / 0.9563 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.007775, allocations: 124 kB / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007776, allocations: 0 / 0.9564 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001512/0.007927, allocations: 20 kB / 0.9564 GB, free: 13.03 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.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.0005591/0.008486, allocations: 0.6438 MB / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.008665, allocations: 161 kB / 0.9572 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.008668, allocations: 0 / 0.9572 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.399e-05/0.008692, allocations: 15.98 kB / 0.9572 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.008887, allocations: 20.94 kB / 0.9573 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.01022, allocations: 1.824 MB / 0.959 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.135e-05/0.01027, allocations: 84.31 kB / 0.9591 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.0103, allocations: 12.42 kB / 0.9591 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.01034, allocations: 32.5 kB / 0.9592 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of SimCode: time 9.31e-07/0.01034, allocations: 0 / 0.9592 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.02938, allocations: 3.651 MB / 0.9627 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.322/7.352, allocations: 8.891 kB / 0.9627 GB, free: 6.574 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.336071253754199]