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) 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 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005129/0.005134, allocations: 101.9 kB / 15.73 MB, free: 6.016 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.001536/0.001536, allocations: 192 kB / 16.67 MB, free: 5.93 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 482.4 MB / 0.7548 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.003216/0.003216, allocations: 63.53 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2952, allocations: 162.2 MB / 1.241 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002024/0.2972, allocations: 0.8577 MB / 1.242 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2987, allocations: 1.175 MB / 1.243 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.2988, allocations: 0 / 1.243 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.2989, allocations: 27.78 kB / 1.243 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.254e-05/0.299, allocations: 15.8 kB / 1.243 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.2994, allocations: 143.2 kB / 1.244 GB, free: 7.055 MB / 0.9669 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 NFFlatten.flatten: time 0.0002481/0.2997, allocations: 179.6 kB / 1.244 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2998, allocations: 41.38 kB / 1.244 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.65e-05/0.2999, allocations: 63.77 kB / 1.244 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.3, allocations: 55.75 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.3, allocations: 12 kB / 1.244 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.866e-05/0.3001, allocations: 23.98 kB / 1.244 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.3002, allocations: 15.94 kB / 1.244 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.3002, allocations: 63.7 kB / 1.244 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.3005, allocations: 171.6 kB / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3005, allocations: 0 / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.296e-06/0.3005, allocations: 3.984 kB / 1.244 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.3005, allocations: 4 kB / 1.244 GB, free: 6.43 MB / 0.9669 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.0005488/0.3011, allocations: 444.6 kB / 1.245 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.3011, allocations: 8.031 kB / 1.245 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.3011, allocations: 30.75 kB / 1.245 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.3012, allocations: 20.88 kB / 1.245 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.3015, allocations: 212.2 kB / 1.245 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3015, allocations: 4.375 kB / 1.245 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.3015, allocations: 16.31 kB / 1.245 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3017, allocations: 84.75 kB / 1.245 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3017, allocations: 7.922 kB / 1.245 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3017, allocations: 4 kB / 1.245 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3017, allocations: 3.938 kB / 1.245 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.594e-05/0.3018, allocations: 31.86 kB / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.3024, allocations: 0.5438 MB / 1.246 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.187e-05/0.3024, allocations: 30.58 kB / 1.246 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.3025, allocations: 8.922 kB / 1.246 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.3025, allocations: 0 / 1.246 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.3026, allocations: 67.39 kB / 1.246 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.3026, allocations: 3.938 kB / 1.246 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001936/0.3028, allocations: 85.58 kB / 1.246 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.3029, allocations: 51.41 kB / 1.246 GB, free: 4.574 MB / 0.9669 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 selectInitializationVariablesDAE (initialization): time 0.0001844/0.3031, allocations: 172.5 kB / 1.246 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.3031, allocations: 33.7 kB / 1.246 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.3032, allocations: 104.1 kB / 1.246 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.3032, allocations: 7.953 kB / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.462e-05/0.3033, allocations: 37.7 kB / 1.246 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3034, allocations: 326.8 kB / 1.246 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.655e-05/0.3035, allocations: 31.98 kB / 1.246 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3036, allocations: 58.55 kB / 1.247 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.3038, allocations: 92.2 kB / 1.247 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3038, allocations: 4 kB / 1.247 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003002/0.3041, allocations: 163.2 kB / 1.247 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.3041, allocations: 37.7 kB / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3042, allocations: 0 / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.3042, allocations: 4 kB / 1.247 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.129e-05/0.3042, allocations: 3.984 kB / 1.247 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3042, allocations: 11.88 kB / 1.247 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.3044, allocations: 31.92 kB / 1.247 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.3045, allocations: 16.06 kB / 1.247 GB, free: 3.383 MB / 0.9669 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 9.821e-05/0.3046, allocations: 117.8 kB / 1.247 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.3046, allocations: 11.89 kB / 1.247 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.3046, allocations: 16.92 kB / 1.247 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3046, allocations: 0 / 1.247 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3047, allocations: 3.938 kB / 1.247 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.3047, allocations: 0 / 1.247 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.3048, allocations: 189.6 kB / 1.247 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3048, allocations: 0 / 1.247 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.3049, allocations: 8 kB / 1.247 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3049, allocations: 0 / 1.247 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.3049, allocations: 0 / 1.247 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3049, allocations: 3.938 kB / 1.247 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3049, allocations: 3.938 kB / 1.247 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.305, allocations: 105 kB / 1.247 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.3051, allocations: 85.34 kB / 1.247 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3051, allocations: 0 / 1.247 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.691e-05/0.3052, allocations: 8 kB / 1.247 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.3052, allocations: 11.91 kB / 1.247 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3052, allocations: 0 / 1.247 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001124/0.3053, allocations: 128 kB / 1.248 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3053, allocations: 0 / 1.248 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002228/0.3056, allocations: 20 kB / 1.248 GB, free: 2.582 MB / 0.9669 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.0004688/0.306, allocations: 0.632 MB / 1.248 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.3063, allocations: 139.3 kB / 1.248 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3063, allocations: 0 / 1.248 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.672e-05/0.3063, allocations: 15.98 kB / 1.248 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.3066, allocations: 25.42 kB / 1.248 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.3085, allocations: 1.654 MB / 1.25 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3088, allocations: 0.7002 MB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.3089, allocations: 4.438 kB / 1.251 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.3089, allocations: 27.42 kB / 1.251 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.3089, allocations: 4 kB / 1.251 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.3325, allocations: 2.827 MB / 1.253 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.852, allocations: 17.92 kB / 1.253 GB, free: 12.54 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches