Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.PlaceholderReal,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",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.005298/0.005298, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001572/0.001572, allocations: 196 kB / 16.67 MB, free: 6.355 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.635/1.635, allocations: 222.9 MB / 240.4 MB, free: 4.32 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 2.836/2.836, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2754, 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.PlaceholderReal): time 0.002079/0.2775, allocations: 0.9308 MB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.2791, allocations: 1.17 MB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.2792, allocations: 7.938 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.2793, allocations: 19.8 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.347e-05/0.2794, allocations: 23.84 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.2799, allocations: 143.3 kB / 1.222 GB, free: 12 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderReal.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.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.0002456/0.2801, allocations: 171.6 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2802, allocations: 49.33 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.407e-05/0.2803, allocations: 59.72 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2805, allocations: 47.83 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.2805, allocations: 16 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.189e-05/0.2806, allocations: 35.97 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.2806, allocations: 15.92 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.049e-05/0.2807, allocations: 55.72 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.281, allocations: 175.3 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.281, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.281, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.281, allocations: 0 / 1.223 GB, free: 11.39 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.0005742/0.2816, allocations: 440.6 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2816, allocations: 8.031 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.2817, allocations: 38.75 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.2817, allocations: 16.89 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.282, allocations: 226.8 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2821, allocations: 4.359 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.2821, allocations: 16.31 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.2822, allocations: 88.75 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2823, allocations: 3.938 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.2823, allocations: 4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2823, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.008e-05/0.2824, allocations: 31.92 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.2829, allocations: 0.536 MB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.939e-05/0.283, allocations: 30.56 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.283, allocations: 8.922 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.2831, allocations: 4 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.2832, allocations: 63.39 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.2832, allocations: 0 / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002049/0.2834, allocations: 81.53 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.2835, allocations: 59.39 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderReal.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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.2836, allocations: 177.4 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.2837, allocations: 29.7 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.2838, allocations: 108.1 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.2838, allocations: 3.953 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.2839, allocations: 33.7 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.284, allocations: 322.8 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.2841, allocations: 35.92 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.973e-05/0.2842, allocations: 62.55 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.2843, allocations: 92.2 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.2844, allocations: 4 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002987/0.2847, allocations: 167.3 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.2847, allocations: 37.7 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2847, allocations: 0 / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2847, allocations: 4.062 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.532e-05/0.2848, allocations: 4 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2848, allocations: 3.938 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.285, allocations: 35.84 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.285, allocations: 4.078 kB / 1.226 GB, free: 8.352 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: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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.0001169/0.2852, allocations: 130.3 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.2852, allocations: 7.953 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.2852, allocations: 16.92 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2852, allocations: 0 / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2852, allocations: 3.938 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2852, allocations: 0 / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.2854, allocations: 193.6 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2854, allocations: 7.938 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.2854, allocations: 0 / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2854, allocations: 0 / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.2855, allocations: 0 / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2855, allocations: 4 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2855, allocations: 3.938 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.2856, allocations: 109.2 kB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.2857, allocations: 81.06 kB / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.2857, allocations: 8 kB / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.182e-05/0.2857, allocations: 0 / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.2858, allocations: 7.922 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.2858, allocations: 4 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001054/0.2859, allocations: 124 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2859, allocations: 0 / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002245/0.2861, allocations: 24 kB / 1.226 GB, free: 7.543 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: 3 ($whenCondition1,$whenCondition2,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.0004718/0.2866, allocations: 0.628 MB / 1.227 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.2869, allocations: 143.2 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2869, allocations: 0 / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.933e-05/0.2869, allocations: 20.11 kB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.2872, allocations: 23.81 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.2892, allocations: 1.7 MB / 1.229 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.2895, allocations: 0.7002 MB / 1.23 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.2895, allocations: 8.422 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.2896, allocations: 27.42 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of SimCode: time 2.234e-06/0.2896, allocations: 0 / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.312, allocations: 2.867 MB / 1.232 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.056, allocations: 1.375 kB / 1.232 GB, free: 1.418 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_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_PlaceholderReal.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches