Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007916/0.007916, allocations: 101.5 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 196.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8596/0.8611, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.002972/0.8641, allocations: 0.9319 MB / 1.208 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.866, allocations: 1.178 MB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.8662, allocations: 4 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.8664, allocations: 27.72 kB / 1.209 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.167e-05/0.8665, allocations: 15.81 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/0.867, allocations: 146.9 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.8674, allocations: 187.6 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.8675, allocations: 41.34 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.8676, allocations: 59.83 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.8678, allocations: 55.75 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.8678, allocations: 12 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.873e-05/0.8679, allocations: 27.98 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.868, allocations: 19.81 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.263e-05/0.8681, allocations: 59.77 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.8684, allocations: 169.7 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.8684, allocations: 3.984 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8684, allocations: 0 / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.8684, allocations: 4 kB / 1.21 GB, free: 10.6 MB / 0.9356 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.0007/0.8691, allocations: 436.7 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.8692, allocations: 8.031 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.8692, allocations: 34.75 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.618e-05/0.8693, allocations: 16.83 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.8696, allocations: 220 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.8696, allocations: 4.375 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.8696, allocations: 12.38 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.8698, allocations: 80.81 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.8698, allocations: 7.938 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.8699, allocations: 0 / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.8699, allocations: 0 / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.628e-05/0.8699, allocations: 27.92 kB / 1.211 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005952/0.8705, allocations: 0.5437 MB / 1.211 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.553e-05/0.8706, allocations: 30.58 kB / 1.211 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.8707, allocations: 8.922 kB / 1.211 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.8707, allocations: 0 / 1.211 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.8708, allocations: 75.33 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.8708, allocations: 0 / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002169/0.871, allocations: 77.58 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.8711, allocations: 51.41 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.8713, allocations: 171.9 kB / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.8713, allocations: 33.7 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.8714, allocations: 104 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.8714, allocations: 15.78 kB / 1.212 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.046e-05/0.8715, allocations: 29.7 kB / 1.212 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8716, allocations: 330.8 kB / 1.212 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.8717, allocations: 31.98 kB / 1.212 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.095e-05/0.8718, allocations: 58.55 kB / 1.212 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.872, allocations: 88.27 kB / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.872, allocations: 0 / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002829/0.8723, allocations: 171.2 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.8723, allocations: 37.7 kB / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.8723, allocations: 4 kB / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.8724, allocations: 4 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.097e-05/0.8724, allocations: 0 / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.8724, allocations: 15.86 kB / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.8726, allocations: 27.88 kB / 1.213 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.8727, allocations: 4.062 kB / 1.213 GB, free: 7.578 MB / 0.9356 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 9.575e-05/0.8728, allocations: 125.8 kB / 1.213 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.8728, allocations: 7.906 kB / 1.213 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.8728, allocations: 13.16 kB / 1.213 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.8728, allocations: 0 / 1.213 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.8728, allocations: 3.938 kB / 1.213 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8729, allocations: 3.984 kB / 1.213 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.873, allocations: 189.6 kB / 1.213 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.873, allocations: 0 / 1.213 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.873, allocations: 4 kB / 1.213 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.8731, allocations: 4 kB / 1.213 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.8731, allocations: 0 / 1.213 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.8731, allocations: 3.938 kB / 1.213 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.8731, allocations: 3.938 kB / 1.213 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.8732, allocations: 96.92 kB / 1.213 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.8733, allocations: 85.02 kB / 1.213 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.8733, allocations: 0 / 1.213 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.642e-05/0.8733, allocations: 8 kB / 1.213 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.8734, allocations: 11.92 kB / 1.213 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.8734, allocations: 3.938 kB / 1.213 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001044/0.8735, allocations: 128.2 kB / 1.213 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8735, allocations: 0 / 1.213 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002206/0.8737, allocations: 24 kB / 1.213 GB, free: 6.777 MB / 0.9356 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.0004399/0.8742, allocations: 0.6319 MB / 1.214 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.8744, allocations: 131.4 kB / 1.214 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.8744, allocations: 8 kB / 1.214 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.8745, allocations: 19.92 kB / 1.214 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.8747, allocations: 23.86 kB / 1.214 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.8766, allocations: 1.695 MB / 1.216 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.8769, allocations: 0.6963 MB / 1.217 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.8769, allocations: 8.422 kB / 1.217 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.877, allocations: 31.42 kB / 1.217 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.877, allocations: 4 kB / 1.217 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.8979, allocations: 2.859 MB / 1.219 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.754, allocations: 5.625 kB / 1.219 GB, free: 0.668 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches