Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_11_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.007427/0.007428, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001316/0.001316, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.172/3.172, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2667, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.001957/0.2687, allocations: 0.8523 MB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2702, allocations: 1.174 MB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.2702, allocations: 3.938 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.2704, allocations: 27.78 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.131e-05/0.2704, allocations: 11.88 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.2709, allocations: 147.6 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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 NFFlatten.flatten: time 0.0002314/0.2711, allocations: 175.6 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2712, allocations: 41.34 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.465e-05/0.2713, allocations: 59.78 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.2714, allocations: 59.73 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.2715, allocations: 12 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.2716, allocations: 31.98 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.2716, allocations: 7.938 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.729e-05/0.2717, allocations: 67.7 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.2719, allocations: 175.3 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2719, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2719, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.2719, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 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.0005355/0.2725, allocations: 436.7 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.2725, allocations: 8.031 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.2726, allocations: 38.73 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.2726, allocations: 12.89 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.2729, allocations: 222.8 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2729, allocations: 4.375 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.2729, allocations: 20.34 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.2731, allocations: 88.69 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2731, allocations: 3.938 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.2731, allocations: 4 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2731, allocations: 0 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.026e-05/0.2732, allocations: 27.94 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.2737, allocations: 0.5361 MB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.731e-05/0.2738, allocations: 30.52 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.2739, allocations: 12.92 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.2739, allocations: 4 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.274, allocations: 63.38 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/0.274, allocations: 4 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001949/0.2742, allocations: 85.52 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.2742, allocations: 55.34 kB / 1.225 GB, free: 9.605 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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 selectInitializationVariablesDAE (initialization): time 0.0001837/0.2744, allocations: 181.7 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.2745, allocations: 29.7 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.2746, allocations: 108.1 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.2746, allocations: 7.953 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.2746, allocations: 33.69 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2748, allocations: 322.8 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.441e-05/0.2749, allocations: 39.98 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/0.275, allocations: 54.56 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.2751, allocations: 96.2 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2751, allocations: 0 / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000291/0.2754, allocations: 163.2 kB / 1.226 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.2755, allocations: 41.69 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2755, allocations: 7.938 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.2755, allocations: 0 / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.972e-05/0.2755, allocations: 4 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2756, allocations: 3.938 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.2758, allocations: 31.98 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.2758, allocations: 4 kB / 1.226 GB, free: 8.422 MB / 0.9825 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.842e-05/0.2759, allocations: 126.3 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.2759, allocations: 7.953 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.276, allocations: 12.94 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.276, allocations: 0 / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.276, allocations: 3.938 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.276, allocations: 4 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2761, allocations: 193.6 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2762, allocations: 0 / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.2762, allocations: 4 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.2762, allocations: 0 / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.2762, allocations: 3.984 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2762, allocations: 0 / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2762, allocations: 7.938 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.2764, allocations: 97.33 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.2764, allocations: 89.09 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.2764, allocations: 7.984 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.357e-05/0.2765, allocations: 0 / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.2765, allocations: 7.875 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.2765, allocations: 8 kB / 1.226 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001033/0.2766, allocations: 123.9 kB / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2766, allocations: 0 / 1.226 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002223/0.2769, allocations: 20 kB / 1.226 GB, free: 7.621 MB / 0.9825 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.0004432/0.2773, allocations: 0.6358 MB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.2775, allocations: 139.3 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2776, allocations: 0 / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.2776, allocations: 12 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.2778, allocations: 36.11 kB / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.2797, allocations: 1.665 MB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.28, allocations: 0.6963 MB / 1.229 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.28, allocations: 8.438 kB / 1.229 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.2801, allocations: 35.42 kB / 1.229 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2801, allocations: 0 / 1.229 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.3031, allocations: 2.822 MB / 1.232 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.933, allocations: 10.86 kB / 1.232 GB, free: 1.559 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches