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.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.001002/0.001002, 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.001075/0.001075, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8696/0.8696, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.764/1.764, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.978e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.001474/0.001494, allocations: 0.8829 MB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.002597, allocations: 1.202 MB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.002665, allocations: 11.94 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.002778, allocations: 15.86 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.164e-05/0.002819, allocations: 27.73 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.003188, allocations: 146.6 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.003349, allocations: 167.6 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.003449, allocations: 33.5 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.219e-05/0.003532, allocations: 79.83 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.676e-05/0.003608, allocations: 39.88 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.003634, allocations: 16 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.226e-05/0.003686, allocations: 31.98 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.003707, allocations: 15.92 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.003754, allocations: 39.91 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.003932, allocations: 191.4 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003934, allocations: 0 / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003935, allocations: 0 / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.00394, allocations: 4 kB / 1.002 GB, free: 10.61 MB / 0.9636 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.0004002/0.00434, allocations: 359.5 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.004377, allocations: 8.75 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.004405, allocations: 38.75 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.004446, allocations: 20.84 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.00465, allocations: 163.3 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.004666, allocations: 8.375 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.004682, allocations: 8.375 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.004797, allocations: 84.75 kB / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.004804, allocations: 192 / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.004814, allocations: 4.375 kB / 1.003 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.004822, allocations: 8.125 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.00487, allocations: 27.92 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.005257, allocations: 488.1 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.306e-05/0.00531, allocations: 26.56 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.005328, allocations: 8.922 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.005337, allocations: 11.88 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.653e-05/0.005433, allocations: 63.39 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.005434, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001684/0.005603, allocations: 81.62 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.005637, allocations: 55.39 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.005756, allocations: 171.3 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.005773, allocations: 37.64 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.005827, allocations: 112 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.005838, allocations: 7.953 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.005882, allocations: 33.7 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.005963, allocations: 322.8 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/0.006037, allocations: 65.69 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.157e-05/0.006109, allocations: 92.25 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.006191, allocations: 96.27 kB / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006193, allocations: 0 / 1.005 GB, free: 8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001959/0.006389, allocations: 208.8 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.006417, allocations: 43.41 kB / 1.005 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.006422, allocations: 0 / 1.005 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.006433, allocations: 0 / 1.005 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.578e-05/0.006478, allocations: 4 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.006483, allocations: 0 / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.006602, allocations: 23.97 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.006617, allocations: 11.98 kB / 1.005 GB, free: 7.691 MB / 0.9636 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.789e-05/0.006685, allocations: 125.8 kB / 1.005 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.006695, allocations: 11.91 kB / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.006719, allocations: 13.03 kB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.006722, allocations: 3.984 kB / 1.005 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.006725, allocations: 4 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.006729, allocations: 0 / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.123e-05/0.00682, allocations: 152.7 kB / 1.005 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.006821, allocations: 0 / 1.005 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-06/0.006829, allocations: 0 / 1.005 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.006831, allocations: 4 kB / 1.005 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.006838, allocations: 11.92 kB / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006838, allocations: 0 / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006839, allocations: 0 / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.478e-05/0.006934, allocations: 101 kB / 1.005 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.006946, allocations: 3.953 kB / 1.005 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.006958, allocations: 7.984 kB / 1.005 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.006973, allocations: 4 kB / 1.005 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.006993, allocations: 0 / 1.005 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.006999, allocations: 8 kB / 1.005 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.193e-05/0.007061, allocations: 120 kB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007061, allocations: 0 / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00015/0.007211, allocations: 31.89 kB / 1.006 GB, free: 7.023 MB / 0.9636 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.0002806/0.007491, allocations: 0.6358 MB / 1.006 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.007668, allocations: 157 kB / 1.006 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007669, allocations: 0 / 1.006 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.00769, allocations: 12 kB / 1.006 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.007864, allocations: 27.98 kB / 1.006 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.009155, allocations: 1.821 MB / 1.008 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.704e-05/0.009202, allocations: 84.31 kB / 1.008 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.009229, allocations: 4.5 kB / 1.008 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.00927, allocations: 36.47 kB / 1.008 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/0.009271, allocations: 0 / 1.008 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.02429, allocations: 3.649 MB / 1.012 GB, free: 0.5977 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.409/6.433, allocations: 11.12 kB / 1.012 GB, free: 0.5898 MB / 0.9636 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.38961501326412]