Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.001422/0.001422, allocations: 106.2 kB / 16.45 MB, free: 6.035 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.001442/0.001442, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.415/1.415, allocations: 225.6 MB / 247.8 MB, free: 13.92 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 2.995/2.995, allocations: 497.2 MB / 0.7811 GB, free: 33.75 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.PlaceholderInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 72.81 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2997, allocations: 173.9 MB / 1.304 GB, free: 1.59 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Plants/Controls/Utilities/PlaceholderInteger.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.PlaceholderInteger): time 0.002521/0.3022, allocations: 0.8595 MB / 1.305 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.3042, allocations: 1.182 MB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.3043, allocations: 0 / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.3044, allocations: 27.73 kB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.884e-05/0.3045, allocations: 19.86 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.305, allocations: 139.6 kB / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.3053, allocations: 175.6 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3054, allocations: 29.61 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.97e-05/0.3055, allocations: 55.84 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.3056, allocations: 55.69 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.3056, allocations: 16 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.3057, allocations: 27.98 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.3057, allocations: 19.92 kB / 1.307 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.743e-05/0.3058, allocations: 55.73 kB / 1.307 GB, free: 14.92 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.3061, allocations: 167.4 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3061, allocations: 0 / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3061, allocations: 0 / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.3061, allocations: 3.938 kB / 1.307 GB, free: 14.75 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.0006343/0.3067, allocations: 440.6 kB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3067, allocations: 12.92 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.3068, allocations: 34.75 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.3068, allocations: 16.84 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.3071, allocations: 220.2 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3072, allocations: 8.375 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3072, allocations: 8.375 kB / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3073, allocations: 84.75 kB / 1.308 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3073, allocations: 7.875 kB / 1.308 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3074, allocations: 4 kB / 1.308 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3074, allocations: 4 kB / 1.308 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.315e-05/0.3074, allocations: 23.98 kB / 1.308 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.308, allocations: 0.536 MB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.392e-05/0.3081, allocations: 34.5 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.3081, allocations: 12.86 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.3081, allocations: 4 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.3082, allocations: 59.39 kB / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3082, allocations: 4 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002143/0.3085, allocations: 77.58 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3085, allocations: 59.41 kB / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.3087, allocations: 173.9 kB / 1.308 GB, free: 12.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.3087, allocations: 25.7 kB / 1.308 GB, free: 12.69 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.3088, allocations: 116.1 kB / 1.309 GB, free: 12.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.3088, allocations: 3.953 kB / 1.309 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/0.3089, allocations: 29.7 kB / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.309, allocations: 330.8 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.3091, allocations: 35.98 kB / 1.309 GB, free: 12.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.06e-05/0.3092, allocations: 58.55 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3093, allocations: 88.22 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3093, allocations: 0 / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002953/0.3096, allocations: 179.2 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.3097, allocations: 37.7 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3097, allocations: 0 / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3097, allocations: 4 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.495e-05/0.3097, allocations: 0 / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.3097, allocations: 3.938 kB / 1.309 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.3099, allocations: 36.14 kB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.3099, allocations: 7.984 kB / 1.309 GB, free: 11.72 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: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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.0001181/0.31, allocations: 125.9 kB / 1.31 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.3101, allocations: 11.94 kB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.3101, allocations: 12.92 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3101, allocations: 3.938 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3101, allocations: 3.938 kB / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3101, allocations: 0 / 1.31 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.3103, allocations: 197.5 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3103, allocations: 0 / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.3103, allocations: 7.938 kB / 1.31 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3103, allocations: 4 kB / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3103, allocations: 0 / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3103, allocations: 0 / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3103, allocations: 3.938 kB / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.3105, allocations: 89.08 kB / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.3105, allocations: 89.05 kB / 1.31 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3105, allocations: 4 kB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.19e-05/0.3106, allocations: 0 / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.3106, allocations: 11.94 kB / 1.31 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.3106, allocations: 3.984 kB / 1.31 GB, free: 11.06 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001085/0.3107, allocations: 136.8 kB / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3107, allocations: 0 / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002152/0.3109, allocations: 16 kB / 1.31 GB, free: 10.91 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: 4 ($whenCondition1,$whenCondition2,pul.y,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.0005153/0.3114, allocations: 0.6397 MB / 1.311 GB, free: 10.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.3117, allocations: 123.3 kB / 1.311 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3117, allocations: 0 / 1.311 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.345e-05/0.3117, allocations: 12 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.3119, allocations: 19.92 kB / 1.311 GB, free: 10.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.3139, allocations: 1.66 MB / 1.312 GB, free: 8.316 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.3142, allocations: 0.7002 MB / 1.313 GB, free: 7.59 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.3142, allocations: 8.422 kB / 1.313 GB, free: 7.578 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.3143, allocations: 27.42 kB / 1.313 GB, free: 7.555 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.3143, allocations: 0 / 1.313 GB, free: 7.555 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.3395, allocations: 2.839 MB / 1.316 GB, free: 4.879 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.363, allocations: 4.25 kB / 1.316 GB, free: 4.875 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.591221848968416]