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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 105.9 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.001934/0.001934, 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.397/1.397, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.057/3.057, allocations: 497.2 MB / 0.7811 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 66.22 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3184, allocations: 173.9 MB / 1.304 GB, free: 1.578 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002311/0.3207, allocations: 0.9411 MB / 1.305 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.3223, allocations: 1.174 MB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.329e-05/0.3223, allocations: 7.938 kB / 1.306 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.3225, allocations: 23.78 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.323e-05/0.3225, allocations: 19.86 kB / 1.306 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.323, allocations: 143.1 kB / 1.306 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.3232, allocations: 171.6 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3233, allocations: 33.59 kB / 1.306 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.125e-05/0.3234, allocations: 59.8 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3235, allocations: 55.73 kB / 1.307 GB, free: 14.94 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.3236, allocations: 12 kB / 1.307 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-05/0.3236, allocations: 27.98 kB / 1.307 GB, free: 14.9 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.3237, allocations: 15.94 kB / 1.307 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.023e-05/0.3237, allocations: 59.72 kB / 1.307 GB, free: 14.83 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.3241, allocations: 171.4 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3241, allocations: 0 / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3241, allocations: 3.938 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3241, allocations: 4 kB / 1.307 GB, free: 14.65 MB / 1.014 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.0006157/0.3247, allocations: 442.2 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3247, allocations: 8.625 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.3248, allocations: 34.73 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.3248, allocations: 16.84 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.3251, allocations: 223.2 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3251, allocations: 12.36 kB / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.3251, allocations: 12.38 kB / 1.308 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.3253, allocations: 84.69 kB / 1.308 GB, free: 13.72 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3253, allocations: 3.938 kB / 1.308 GB, free: 13.72 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3253, allocations: 11.98 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3253, allocations: 0 / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.3254, allocations: 23.94 kB / 1.308 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.326, allocations: 0.5361 MB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.424e-05/0.326, allocations: 26.58 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.326, allocations: 12.92 kB / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.3261, allocations: 0 / 1.308 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.3262, allocations: 67.38 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3262, allocations: 0 / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002181/0.3264, allocations: 81.58 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.3264, allocations: 55.41 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3266, allocations: 169.9 kB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.3266, allocations: 25.7 kB / 1.309 GB, free: 12.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.496e-05/0.3267, allocations: 116 kB / 1.309 GB, free: 12.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.3267, allocations: 7.938 kB / 1.309 GB, free: 12.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.3268, allocations: 29.7 kB / 1.309 GB, free: 12.44 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3269, allocations: 326.8 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.327, allocations: 39.98 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.034e-05/0.3271, allocations: 58.55 kB / 1.309 GB, free: 12.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.3273, allocations: 96.27 kB / 1.309 GB, free: 11.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3273, allocations: 0 / 1.309 GB, free: 11.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002852/0.3275, allocations: 171.2 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.3276, allocations: 41.69 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3276, allocations: 0 / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3276, allocations: 4 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.396e-05/0.3277, allocations: 0 / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3277, allocations: 3.938 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.3278, allocations: 31.97 kB / 1.309 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.3279, allocations: 7.938 kB / 1.309 GB, free: 11.62 MB / 1.014 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 0.0001113/0.328, allocations: 133.8 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.328, allocations: 7.953 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.328, allocations: 12.94 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.328, allocations: 0 / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.328, allocations: 3.938 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.328, allocations: 0 / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.3282, allocations: 193.6 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3282, allocations: 0 / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.595e-05/0.3282, allocations: 4 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3282, allocations: 4 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.3282, allocations: 3.984 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3282, allocations: 0 / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3282, allocations: 3.938 kB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.3284, allocations: 93.02 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.3284, allocations: 85.06 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.3284, allocations: 3.984 kB / 1.31 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.3285, allocations: 0 / 1.31 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.3285, allocations: 16.22 kB / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3285, allocations: 0 / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001147/0.3286, allocations: 128.9 kB / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3286, allocations: 0 / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002232/0.3288, allocations: 27.89 kB / 1.31 GB, free: 10.82 MB / 1.014 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.0004912/0.3293, allocations: 0.6398 MB / 1.311 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.3296, allocations: 127.3 kB / 1.311 GB, free: 10.01 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3296, allocations: 0 / 1.311 GB, free: 10.01 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.359e-05/0.3296, allocations: 12 kB / 1.311 GB, free: 9.996 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.3298, allocations: 25.27 kB / 1.311 GB, free: 9.973 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.3318, allocations: 1.693 MB / 1.313 GB, free: 8.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3321, allocations: 0.6924 MB / 1.313 GB, free: 7.461 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.843e-05/0.3322, allocations: 20.3 kB / 1.313 GB, free: 7.441 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.3322, allocations: 27.42 kB / 1.313 GB, free: 7.414 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.3322, allocations: 0 / 1.313 GB, free: 7.414 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.359, allocations: 2.868 MB / 1.316 GB, free: 4.711 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.466, allocations: 18.58 kB / 1.316 GB, free: 4.695 MB / 1.014 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.859465869609267]