Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.PlaceholderReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_latest_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.006976/0.006976, allocations: 97.36 kB / 15.73 MB, free: 5.988 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.001645/0.001645, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.725/2.725, allocations: 469.4 MB / 0.7422 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.89 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2802, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002289/0.2825, allocations: 0.9207 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.284, allocations: 1.174 MB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2842, allocations: 11.94 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.2843, allocations: 23.8 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.003e-05/0.2844, allocations: 19.8 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.2849, allocations: 139.1 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.2852, allocations: 183.6 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2853, allocations: 45.33 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.017e-05/0.2854, allocations: 59.83 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.2856, allocations: 55.77 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.2856, allocations: 16 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.337e-05/0.2857, allocations: 27.98 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.2857, allocations: 15.92 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.2858, allocations: 63.64 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.286, allocations: 167.4 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.286, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.41e-07/0.286, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2861, allocations: 0 / 1.223 GB, free: 11.77 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.0005475/0.2866, allocations: 444.7 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2867, allocations: 11.97 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.2867, allocations: 38.75 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.2868, allocations: 12.89 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.287, allocations: 222.1 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.287, allocations: 4.375 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.2871, allocations: 12.38 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.2872, allocations: 92.75 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2872, allocations: 3.938 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.2872, allocations: 0 / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2873, allocations: 0 / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.182e-05/0.2873, allocations: 31.92 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.2878, allocations: 0.5399 MB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.396e-05/0.2879, allocations: 30.56 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.2879, allocations: 8.922 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-06/0.288, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.2881, allocations: 75.33 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.2881, allocations: 3.938 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001923/0.2883, allocations: 85.77 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.2883, allocations: 55.41 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.2885, allocations: 171.3 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.2885, allocations: 29.7 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.2886, allocations: 108.1 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.2886, allocations: 3.953 kB / 1.224 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/0.2887, allocations: 33.7 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2888, allocations: 322.8 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.2889, allocations: 35.98 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.778e-05/0.289, allocations: 66.47 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.2891, allocations: 84.28 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2891, allocations: 3.938 kB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002671/0.2894, allocations: 167.2 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.2894, allocations: 41.77 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2894, allocations: 0 / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2894, allocations: 4 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.085e-05/0.2895, allocations: 3.938 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2895, allocations: 7.938 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.2897, allocations: 31.86 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.2897, allocations: 7.984 kB / 1.225 GB, free: 8.723 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 9.275e-05/0.2898, allocations: 125.8 kB / 1.225 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.2899, allocations: 7.953 kB / 1.225 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.2899, allocations: 16.92 kB / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2899, allocations: 0 / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2899, allocations: 3.938 kB / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2899, allocations: 0 / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.2901, allocations: 185.6 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2901, allocations: 0 / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.2901, allocations: 4 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2901, allocations: 0 / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.2901, allocations: 0 / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2901, allocations: 8.062 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2901, allocations: 3.938 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.2903, allocations: 105 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.2903, allocations: 85.06 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2904, allocations: 0 / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.351e-05/0.2904, allocations: 4 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.2904, allocations: 3.938 kB / 1.226 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.2904, allocations: 7.922 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.086e-05/0.2905, allocations: 132 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2905, allocations: 0 / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002221/0.2908, allocations: 20 kB / 1.226 GB, free: 7.926 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.000401/0.2912, allocations: 0.6358 MB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.2914, allocations: 139.4 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2914, allocations: 0 / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-05/0.2914, allocations: 15.94 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.2917, allocations: 23.86 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.2934, allocations: 1.704 MB / 1.228 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.2937, allocations: 0.7002 MB / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.2938, allocations: 8.422 kB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.2938, allocations: 27.44 kB / 1.229 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.2938, allocations: 0 / 1.229 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.3128, allocations: 2.873 MB / 1.232 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.249, allocations: 10.67 kB / 1.232 GB, free: 1.781 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_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_PlaceholderReal.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches