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.005278/0.005277, allocations: 97.69 kB / 15.73 MB, free: 6.055 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.001383/0.001383, allocations: 198.8 kB / 16.68 MB, free: 5.961 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.616/2.616, allocations: 482.6 MB / 0.755 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 67.89 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2697, allocations: 162.3 MB / 1.242 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.001823/0.2716, allocations: 0.8475 MB / 1.243 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.2729, allocations: 1.166 MB / 1.244 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.273, allocations: 0 / 1.244 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.2731, allocations: 23.8 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.2732, allocations: 27.78 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.2736, allocations: 143.3 kB / 1.244 GB, free: 7.586 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 NFFlatten.flatten: time 0.0002151/0.2738, allocations: 175.6 kB / 1.244 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2739, allocations: 45.36 kB / 1.244 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.274, allocations: 55.84 kB / 1.244 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.723e-05/0.2741, allocations: 55.75 kB / 1.244 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.2742, allocations: 12 kB / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-05/0.2742, allocations: 39.91 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.2743, allocations: 15.88 kB / 1.244 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.395e-05/0.2743, allocations: 59.72 kB / 1.244 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.2746, allocations: 175.3 kB / 1.245 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2746, allocations: 0 / 1.245 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2746, allocations: 0 / 1.245 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2746, allocations: 3.984 kB / 1.245 GB, free: 6.957 MB / 0.9981 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.0005038/0.2751, allocations: 428.7 kB / 1.245 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.2751, allocations: 12.03 kB / 1.245 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.2752, allocations: 34.75 kB / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.2752, allocations: 20.88 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.2755, allocations: 224.1 kB / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.2755, allocations: 8.312 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.2755, allocations: 12.38 kB / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.2757, allocations: 76.81 kB / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2757, allocations: 3.938 kB / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.2757, allocations: 4 kB / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2757, allocations: 4 kB / 1.245 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/0.2758, allocations: 31.91 kB / 1.245 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.2763, allocations: 0.5399 MB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.101e-05/0.2764, allocations: 34.56 kB / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.2764, allocations: 12.92 kB / 1.246 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-06/0.2764, allocations: 0 / 1.246 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.2765, allocations: 67.33 kB / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.2765, allocations: 0 / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001844/0.2767, allocations: 81.62 kB / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.2768, allocations: 51.41 kB / 1.246 GB, free: 5.113 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 selectInitializationVariablesDAE (initialization): time 0.0001729/0.2769, allocations: 180.9 kB / 1.246 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.277, allocations: 29.7 kB / 1.246 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.277, allocations: 104.1 kB / 1.246 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.2771, allocations: 11.95 kB / 1.247 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.2771, allocations: 29.7 kB / 1.247 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2773, allocations: 322.8 kB / 1.247 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.2774, allocations: 43.86 kB / 1.247 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-05/0.2774, allocations: 58.55 kB / 1.247 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.2776, allocations: 88.27 kB / 1.247 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2776, allocations: 0 / 1.247 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002639/0.2778, allocations: 171.2 kB / 1.247 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.2779, allocations: 33.7 kB / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2779, allocations: 0 / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2779, allocations: 4 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.081e-05/0.278, allocations: 15.92 kB / 1.247 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.278, allocations: 7.938 kB / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.2782, allocations: 31.92 kB / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.2782, allocations: 4.078 kB / 1.247 GB, free: 3.922 MB / 0.9981 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 8.977e-05/0.2783, allocations: 118.4 kB / 1.247 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.2783, allocations: 7.953 kB / 1.247 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.2783, allocations: 16.92 kB / 1.247 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2783, allocations: 4 kB / 1.247 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2783, allocations: 3.938 kB / 1.247 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2784, allocations: 0 / 1.247 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.2785, allocations: 193.6 kB / 1.248 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2785, allocations: 0 / 1.248 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.2785, allocations: 4 kB / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.2785, allocations: 0 / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.2785, allocations: 0 / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2786, allocations: 3.984 kB / 1.248 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.2786, allocations: 8 kB / 1.248 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.2787, allocations: 101 kB / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.2787, allocations: 89.02 kB / 1.248 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.2788, allocations: 0 / 1.248 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.19e-05/0.2788, allocations: 4 kB / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.2788, allocations: 7.922 kB / 1.248 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2788, allocations: 0 / 1.248 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.611e-05/0.2789, allocations: 132.9 kB / 1.248 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2789, allocations: 0 / 1.248 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002046/0.2791, allocations: 24 kB / 1.248 GB, free: 3.113 MB / 0.9981 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.000418/0.2796, allocations: 0.6322 MB / 1.249 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.2798, allocations: 139.3 kB / 1.249 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2798, allocations: 0 / 1.249 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.556e-05/0.2798, allocations: 24.05 kB / 1.249 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.2801, allocations: 25.27 kB / 1.249 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.2817, allocations: 1.661 MB / 1.25 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4573/0.739, allocations: 0.6926 MB / 1.251 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.962e-05/0.7391, allocations: 7.609 kB / 1.251 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.7391, allocations: 27.08 kB / 1.251 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.7391, allocations: 0.5938 kB / 1.251 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4503/1.189, allocations: 2.818 MB / 1.254 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/9.327, allocations: 10.44 kB / 1.254 GB, free: 13.98 MB / 0.9981 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 & /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 --timeout=400 --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) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches