Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.001884/0.001884, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002348/0.002348, allocations: 211.3 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.225/3.225, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.PlaceholderInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 68.05 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2982, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.002503/0.3007, allocations: 0.8374 MB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.3026, allocations: 1.186 MB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.3027, allocations: 7.938 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.3029, allocations: 19.8 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.37e-05/0.3029, allocations: 19.84 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.3034, allocations: 146.4 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.3037, allocations: 171.6 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.3038, allocations: 41.78 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.269e-05/0.3039, allocations: 59.78 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.304, allocations: 51.75 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.304, allocations: 16 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.3041, allocations: 23.98 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.156e-05/0.3041, allocations: 19.92 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.3042, allocations: 43.8 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.3045, allocations: 175.3 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3045, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3045, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.3045, allocations: 8 kB / 1.328 GB, free: 15.57 MB / 1.029 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.0005549/0.305, allocations: 355.6 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3051, allocations: 12.03 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.3051, allocations: 34.73 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.3052, allocations: 16.84 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.3055, allocations: 171.9 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.3055, allocations: 4.375 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.3055, allocations: 4.375 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3057, allocations: 88.75 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3057, allocations: 7.938 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3057, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3057, allocations: 4 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.3058, allocations: 27.92 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.3063, allocations: 484.1 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.967e-05/0.3064, allocations: 26.58 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.3064, allocations: 16.91 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.3065, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.3066, allocations: 63.39 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.3066, allocations: 4 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.00023/0.3068, allocations: 85.52 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.3069, allocations: 51.41 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.307, allocations: 179.9 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.3071, allocations: 33.7 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.3072, allocations: 100.1 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.3072, allocations: 11.94 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.3072, allocations: 33.7 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3074, allocations: 322.8 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.3075, allocations: 69.62 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3076, allocations: 92.25 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3077, allocations: 96.2 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3077, allocations: 0 / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003086/0.308, allocations: 201 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.3081, allocations: 41.69 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3081, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3081, allocations: 4 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.636e-05/0.3081, allocations: 0 / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.3081, allocations: 8 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.3083, allocations: 31.91 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.3084, allocations: 8 kB / 1.33 GB, free: 12.66 MB / 1.029 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.0001127/0.3085, allocations: 125.8 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.3085, allocations: 11.91 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.3085, allocations: 13.03 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3085, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3085, allocations: 3.938 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3085, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.3087, allocations: 156.7 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3087, allocations: 240 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/0.3087, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3087, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3087, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3087, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3087, allocations: 11.92 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.3088, allocations: 97 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.3089, allocations: 11.91 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.3089, allocations: 4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.3089, allocations: 0 / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.3089, allocations: 15.92 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3089, allocations: 3.938 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001006/0.309, allocations: 124 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.309, allocations: 0 / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000218/0.3093, allocations: 20 kB / 1.331 GB, free: 11.99 MB / 1.029 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.0004568/0.3097, allocations: 0.6358 MB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.31, allocations: 160.9 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.31, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.31, allocations: 16.12 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.3102, allocations: 21.48 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.3122, allocations: 1.785 MB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.512e-05/0.3123, allocations: 80.2 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.028e-05/0.3124, allocations: 12.42 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.3124, allocations: 31.42 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3124, allocations: 0 / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.3408, allocations: 3.48 MB / 1.337 GB, free: 5.754 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.65, allocations: 7.344 kB / 1.337 GB, free: 5.75 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable phNo.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phNo.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phPar.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phPar.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phInp.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phInp.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.485517331864685]