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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001205/0.001205, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001355, allocations: 192.4 kB / 16.53 MB, free: 6.664 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 469.4 MB / 0.742 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 68.78 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2536, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002085/0.2557, allocations: 0.854 MB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2571, allocations: 1.18 MB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.738e-05/0.2572, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.2574, allocations: 23.8 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.023e-05/0.2575, allocations: 19.8 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.2579, allocations: 147.3 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.2582, allocations: 175.6 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2583, allocations: 37.39 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.2584, allocations: 63.77 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.241e-05/0.2585, allocations: 39.83 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.2585, allocations: 16 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.2586, allocations: 28 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.2586, allocations: 23.86 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.909e-05/0.2587, allocations: 63.7 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.2589, allocations: 159.8 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2589, allocations: 0 / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2589, allocations: 0 / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.2589, allocations: 3.938 kB / 1.066 GB, free: 11.73 MB / 0.8262 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.0004922/0.2594, allocations: 444.7 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2595, allocations: 8.031 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.556e-05/0.2595, allocations: 42.73 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.2596, allocations: 16.84 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.2598, allocations: 218.5 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.2599, allocations: 8.375 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.2599, allocations: 8.375 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.26, allocations: 84.69 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.26, allocations: 3.938 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2601, allocations: 4 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2601, allocations: 4 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/0.2601, allocations: 31.92 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.2606, allocations: 0.5321 MB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.677e-05/0.2607, allocations: 26.58 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.2607, allocations: 20.91 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.2608, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.2609, allocations: 59.39 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.2609, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001928/0.2611, allocations: 81.53 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.2611, allocations: 51.41 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0001713/0.2613, allocations: 179.2 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.2614, allocations: 33.7 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.2614, allocations: 108 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.2615, allocations: 7.906 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.2615, allocations: 29.7 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.389e-05/0.2616, allocations: 322.8 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.2617, allocations: 39.98 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.12e-05/0.2618, allocations: 54.56 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.262, allocations: 96.2 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.262, allocations: 0 / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002778/0.2622, allocations: 163.2 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.2623, allocations: 41.69 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2623, allocations: 4 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.2623, allocations: 0 / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.366e-05/0.2624, allocations: 4.062 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2624, allocations: 7.938 kB / 1.069 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.2626, allocations: 35.75 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.2626, allocations: 7.984 kB / 1.069 GB, free: 8.695 MB / 0.8262 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.853e-05/0.2627, allocations: 122.3 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.2628, allocations: 7.906 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.2628, allocations: 16.92 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2628, allocations: 4 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2628, allocations: 3.938 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2628, allocations: 0 / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.2629, allocations: 189.6 kB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.263, allocations: 0 / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.263, allocations: 4 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.263, allocations: 0 / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.263, allocations: 240 / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.263, allocations: 0 / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.263, allocations: 3.938 kB / 1.069 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.2631, allocations: 108.9 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.2632, allocations: 84.98 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.2632, allocations: 4 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.2632, allocations: 4 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.2633, allocations: 7.938 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.2633, allocations: 3.984 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.013e-05/0.2634, allocations: 124.9 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2634, allocations: 0 / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002316/0.2636, allocations: 31.94 kB / 1.07 GB, free: 7.895 MB / 0.8262 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.0003809/0.264, allocations: 0.6255 MB / 1.07 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.2642, allocations: 139.3 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2642, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.2643, allocations: 20.05 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.2645, allocations: 23.92 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.2662, allocations: 1.65 MB / 1.072 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.2664, allocations: 0.7001 MB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.2665, allocations: 12.36 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.2665, allocations: 31.42 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.2665, allocations: 7.938 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.2846, allocations: 2.778 MB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.609, allocations: 8.969 kB / 1.076 GB, free: 1.883 MB / 0.8262 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 50 --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