Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.PlaceholderLogical,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",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.004879/0.004879, allocations: 97.27 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.001287/0.001287, allocations: 188 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.869/2.869, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2917, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001854/0.2936, allocations: 0.7353 MB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.295, allocations: 1.147 MB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.2951, allocations: 11.94 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.2952, allocations: 19.86 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.662e-05/0.2953, allocations: 7.875 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.2957, allocations: 126.9 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFFlatten.flatten: time 0.0002083/0.296, allocations: 143.7 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.2961, allocations: 27.98 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.922e-05/0.2961, allocations: 43.91 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.91e-05/0.2962, allocations: 39.83 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.2963, allocations: 8 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.587e-05/0.2964, allocations: 27.97 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.2964, allocations: 11.94 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.582e-05/0.2965, allocations: 43.78 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.2967, allocations: 115.5 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2967, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2967, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2967, allocations: 0 / 1.223 GB, free: 11.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004966/0.2972, allocations: 414.9 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2972, allocations: 12.03 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.2973, allocations: 38.69 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.2973, allocations: 12.89 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.2976, allocations: 208.2 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2976, allocations: 8.375 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.2976, allocations: 8.375 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.2978, allocations: 76.75 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2978, allocations: 3.938 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.2978, allocations: 0 / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2978, allocations: 4 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.2978, allocations: 19.92 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.2983, allocations: 497 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.84e-05/0.2984, allocations: 30.58 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.2984, allocations: 8.844 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-06/0.2984, allocations: 0 / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.2985, allocations: 59.36 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.2985, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001871/0.2987, allocations: 73.62 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.2988, allocations: 55.34 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.2989, allocations: 149 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.299, allocations: 29.7 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.299, allocations: 96.12 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.909e-06/0.299, allocations: 3.953 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.646e-05/0.2991, allocations: 29.7 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2993, allocations: 322.8 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.2993, allocations: 35.98 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/0.2994, allocations: 42.56 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.2996, allocations: 88.19 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2996, allocations: 0 / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002527/0.2998, allocations: 143.2 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.2999, allocations: 47.34 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2999, allocations: 0 / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2999, allocations: 240 / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.348e-05/0.2999, allocations: 4 kB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2999, allocations: 3.938 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.3001, allocations: 31.86 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.3002, allocations: 7.984 kB / 1.225 GB, free: 9.023 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 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.636e-05/0.3003, allocations: 122.4 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.3003, allocations: 11.94 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.3003, allocations: 8.25 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3003, allocations: 4 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3003, allocations: 3.938 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3004, allocations: 3.984 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.3005, allocations: 169.6 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3005, allocations: 4 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-06/0.3005, allocations: 11.94 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3005, allocations: 0 / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3005, allocations: 0 / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3006, allocations: 4 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3006, allocations: 3.938 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.3007, allocations: 85.09 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.3007, allocations: 85.06 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3008, allocations: 0 / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.3008, allocations: 4 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.3008, allocations: 11.92 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.3008, allocations: 0 / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.176e-05/0.3009, allocations: 109.1 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3009, allocations: 0 / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002154/0.3011, allocations: 20 kB / 1.226 GB, free: 8.277 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.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0004309/0.3016, allocations: 0.628 MB / 1.226 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3018, allocations: 127.2 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3018, allocations: 0 / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-05/0.3019, allocations: 15.98 kB / 1.226 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.3021, allocations: 8 kB / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3037, allocations: 1.516 MB / 1.228 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.304, allocations: 0.6924 MB / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.37e-05/0.304, allocations: 4 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.3041, allocations: 23.42 kB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3041, allocations: 0 / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.3272, allocations: 2.407 MB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.372, allocations: 14.36 kB / 1.231 GB, free: 2.832 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches